|
Set the force that will work on the camera. 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_camera_set_force(my_camera,force);
Note that this will only relevant when CHASE_PHYSICS is applyed
|