How to make a rigidbody stay on another rigidbody while moving?

Hello! I want to make a game like clustertrucks but I don’t know how to make the rigidbody (the player) stay on the trucks (the other rigidbody) while they are moving forward and the player doesn’t move anymore.

Quickest easiest way I can think of is to set your player as a child of the truck.


To make it as simple as possible, do what Larry says =)

If your player is a child of the truck, you can always place it on the top of the truck.

Or you will enter the hell of the script and you will calculate a speed for your player based on the speed of the truck and the speed of the original player. This is not recommended and it will be less optimized than Larry’s answer