ConstantForce : difference between force and relativeForce

Hi everybody

I’m a new Unity user, and as I read the tutorials, I wonder what’s the difference between ConstantForce.force and ConstantForce.relativeForce, and when I have to use one instead of another.

Thank you for your help

force uses world coordinates, while relativeForce uses local coordinates. In other words, applying a force Vector3.forward will move the rigidbody in the Z axis direction, while applying the same Vector3.forward as a relativeForce to a rigidbody will move it in its forward direction (local Z axis).