예제 #1
0
 public void AddTorque(Vector3 torque)
 {
     Body.AddTorque(torque.ConvertToJVector());
 }
예제 #2
0
 public void AddImpulse(Vector3 impulse, Vector3 relativePosition)
 {
     Body.ApplyImpulse(impulse.ConvertToJVector(), relativePosition.ConvertToJVector());
 }
예제 #3
0
 public void AddForceAtPosition(Vector3 force, Vector3 position)
 {
     Body.AddForce(force.ConvertToJVector(), position.ConvertToJVector());
 }
예제 #4
0
 public void AddImpulse(Vector3 impulse)
 {
     Body.ApplyImpulse(impulse.ConvertToJVector());
 }
예제 #5
0
 public void AddForce(Vector3 force)
 {
     Body.AddForce(force.ConvertToJVector());
 }