Gravitation Objects

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

On 28/07/2003 at 14:03, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   8.100 
Platform:   Windows  ;   
Language(s) :   C.O.F.F.E.E  ;  C++  ;

---------
Hey, I was wondering how to use the gravitation object code in C.O.F.F.E.E. I don't exactly understand what the container ID's are yet.  I would like to create a situation where an object (for now, lets say a cube) can pull other cubes towards it, but only at certain times in the animation.  An emitter would not be satisfactory for this situation.  The boxes are tagged with a rigid body tag and thus, gravity will attract it.  I hope this makes sense and thank you in advance.

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

On 30/07/2003 at 04:12, xxxxxxxx wrote:

no it doesn´t really make sense. rigib body tags? Is this tag from the dynamics module?
Usually you get the basecontainer from the tag (var data = tag->GetContainer()) and then you can access the different ids with data->GetData(ID).
Please give more detailed information