|
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_object_set_force(my_object,force);
Note that this will only relevant when CHASE_PHYSICS is applyed
|