Example #1
0
 /// <summary>
 /// Applies the torque impulse.
 /// </summary>
 /// <param name="torque">The torque.</param>
 public void ApplyTorqueImpulse(Vector3 torque)
 {
     InternalRigidBody.ApplyTorqueImpulse(torque);
 }
Example #2
0
 /// <summary>
 /// Applies the force.
 /// </summary>
 /// <param name="force">The force.</param>
 /// <param name="localOffset">The local offset.</param>
 public void ApplyForce(Vector3 force, Vector3 localOffset)
 {
     InternalRigidBody.ApplyForce(force, localOffset);
 }
Example #3
0
 /// <summary>
 /// Applies the impulse.
 /// </summary>
 /// <param name="impulse">The impulse.</param>
 /// <param name="localOffset">The local offset.</param>
 public void ApplyImpulse(Vector3 impulse, Vector3 localOffset)
 {
     InternalRigidBody.ApplyImpulse(impulse, localOffset);
 }
Example #4
0
 /// <summary>
 /// Applies the force.
 /// </summary>
 /// <param name="force">The force.</param>
 public void ApplyForce(Vector3 force)
 {
     InternalRigidBody.ApplyCentralForce(force);
 }
Example #5
0
 /// <summary>
 /// Applies the impulse.
 /// </summary>
 /// <param name="impulse">The impulse.</param>
 public void ApplyImpulse(Vector3 impulse)
 {
     InternalRigidBody.ApplyCentralImpulse(impulse);
 }