Recoil on self-object

Simply enough I want a simplest script to get an idea on how the recoil works. What I mean by this is when I shoot the cannon on my boat, I want the boat itself to go back a bit.

Thanks :slight_smile:

You could use AddRelativeForce(Vector3.forward * thrust, ForceMode.Impulse);
see documentation