/// <summary> /// Applies the torque impulse. /// </summary> /// <param name="torque">The torque.</param> public void ApplyTorqueImpulse(Vector3 torque) { if (InternalRigidBody == null) { throw new InvalidOperationException("Attempted to call a Physics function that is avaliable only when the Entity has been already added to the Scene."); } InternalRigidBody.ApplyTorqueImpulse(torque); }
/// <summary> /// Applies the torque impulse. /// </summary> /// <param name="torque">The torque.</param> public void ApplyTorqueImpulse(Vector3 torque) { InternalRigidBody.ApplyTorqueImpulse(torque); }