deformer or expression tag ?

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:

User Information:
Cinema 4D Version:    
Platform:      
Language(s) :

---------
Hi,

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..

thanks,
cineast

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 30/04/2008 at 13:38, xxxxxxxx wrote:

i think im goin for the tag, deformer doesnt seem to be the right choice for me.

I added a MSG_UPDATE to my execute now so the spline gets updated in the viewport.

The only problem now is that it gets updated not only when i press play, but also when i move sth and so on..