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