Esempio n. 1
0
 public void doForce(Vector3 force, bool now)
 {
     tempVector3.setValue(force.X, force.Y, force.Z);
     if (now)
     {
         Body.applyCentralForce(tempVector3);
     }
     else
     {
         m_taintedForce += force;
         m_parent_scene.AddPhysicsActorTaint(this);
     }
 }