STATE_group_set_physics_force

 

 



   Set the force that will work on the object. For example to simulate gravity force
   do like that:
  		double force[3];
  		force[0]=0;
  		force[1]=0;
  		force[2]= -10;   simulate gravity 10 in the direction of the -Z axis.
  		STATE_group_set_force(my_object,force);
  
  Note that this is only relevant when applied to a dynamic group and that CHASE_PHYSICS is applied (only in viewer mode)

 

 

Go to page 1      Select API

 

Copyright © 2007 3DSTATE Corporation. www.3dstate.com