STATE_camera_get_force

 

 


   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

 

 

Go to page 1      Select API

 

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