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