STATE_engine_is_movement_possible_camera_space

 

 


   if movement possible returns YES else returns NO
   If movement is not possible it returns the plane equation Ax+By+Cz+D=0
   and the intersection point.
   Note that the normal of the blocking surface is N=( plane[0], plane[1], plane[2])
   If the return value is NO and blocking_object==NULL
   it means that what blocks us is the static part of the world
   see also remarks on STATE_engine_is_movement_possible()
  
  	Remark:
  		Note that this function doesn't take a camera handle as one of its parameters.
  		Note also that the result of the operation is dependent on the current camera that is used.
  		The engine will use the current camera (The camera that was used in the last render)
  		In most of the cases this is the right thing to do. In the case when you want
  		to use a different camera for the calculation then use STATE_camera_set_current()
  		Before calling this function.
  
  

 

 

Go to page 1      Select API

 

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