On 09/05/2017 at 07:02, xxxxxxxx wrote:
Cinema 4D Version: R18
Platform: Windows ; Mac ; Mac OSX ;
Language(s) : C++ ;
I'd like to create plugin tool for modifying editable polygon objects. It should change mesh of existing object in similar way to Extrude or Line Cut mesh tools. I cannot find anything similar to this in Cinema official samples.
Can you give me some general guidelines how to do that correctly?
I already tried something like this:
- class derived from ToolData (is it the right base class for such tool? )
- in MouseInput function I modified selected object (accessing mesh of safely casted PolygonObject - not sure if this is correct )
It does some strange things, like object is sometimes deselected or mesh disappears completely.