THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 30/04/2008 at 12:51, xxxxxxxx wrote:
Cinema 4D Version:
i wrote a small coffee expression that gives a spline some physics like gravity and friction and now i want to convert it to C++.
Im not sure what kind of plugin to use though.
I started with a tagPlugin and did the 'main-loop' in the Execute function.
The spline doesnt update when i press play, but it changes when the init function is invoked = when i change parameters.
When i use the draw function instead of execute to change the points, it changes all the time, not just during animation. (my addToExecution had EXECUTION_ANIMATION btw)
Should i use another plugin type?
The modifyObject-function of the objectClass looks like it could be what i need..