/// <summary> /// Applies the torque. /// </summary> /// <param name="torque">The torque.</param> public void ApplyTorque(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.ApplyTorque(torque); }
/// <summary> /// Applies the torque. /// </summary> /// <param name="torque">The torque.</param> public void ApplyTorque(Vector3 torque) { InternalRigidBody.ApplyTorque(torque); }