Skateboard tilting problem

I want to create a skateboarding game using Unity. I want to make the skateboard follow the terrain (For example when the player goes up a ramp the board / player will tilt at the same angle as the ramp.) Instead of running into the ramp at a 90 degree angle.

Any tips would be great. Thanks.

Doing raycasts down from your board you can get the normal of the surface underneath it. You can use this to calculate the correct orientation for the board.

I have a perfect solution for you.
The skateboarding tutorial at design3.com :slight_smile:

I am searching for something like you. But not found a satisfying solution yet. Hope someone will solve the problem soon. I am checking the skateboards blog to get the solution