STATE_group_get_physics_friction

 

 



  Friction is a value smaller or equal to 1
   if friction==0 it means no friction
   if friction==1 it means infinite friction nothing can move
   if friction is smaller than 0, it act like pressing on the gas
   The exact calculation.
   Each render the absolute_speed is multiply with (1-friction).
  
   Note, a negative number can use for increasing the speed.
   a friction of -1 will double the speed.
   -2 will multiply the speed by three each rendering.
   so choose number carefully.
   typical numbers can be 0.03 or -0.03 etc ...
  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