- Home /
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.
Answer by StephanK · May 06, 2010 at 11:14 AM
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.
Answer by GameFreak · Dec 29, 2011 at 12:29 PM
I have a perfect solution for you. The skateboarding tutorial at design3.com :)
@GameFreak Where on the site can I find the skateboard tutorial? Thanks
Answer by dmshahed · Oct 06, 2020 at 10:13 AM
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
Your answer
Follow this Question
Related Questions
Link Input.acceleration to camera 2 Answers
moving up slopes makes me bounce 0 Answers
Tilt character when rotating 0 Answers
I want to make tilt angle lock.. 3 Answers
can anyone help me ? how to make a tilt view like labyrinth2 ????? 3 Answers