rigidbody.addforce forward locally?

How do i apply rigidbody force on the local Z axis?

I’m pretty sure that this is what most (noobs) searching on this subject are looking for.

AddRelativeForce.

Yes…sometimes it is THAT simple. :slight_smile:
Don’t worry…it has racked the brains of most of us non “natural” coders.

rigidbody.AddRelativeForce (Vector3.forward * 10);

You get the local z axis, with transform.forward:

Vector3 v3Force = strength*transform.forward
rigidbody.AddForce(v3Force);