Adding Ramps?

Hello, I was wondering how we would go about adding ramps to this lecture? I’m in the process of building my level, and I wanted to build a ramp to go over a previous section, but my car just fades right through everything. I added a collider, tried messing with gravity settings, but I can’t figure it out.

Is it possible to do?

Hi Nastadon,

Thanks for the great question.
The reason you cant do this is because we have set our rigidbody to be isKinematic and gravity is also off.
You willg et issues with the car flipping if you hit the side of a ramp for example so you would need an extra piece of code to detect when the car is not at its default location and reset the game or respawn the car and reset the score to do this.

Hope this helps

1 Like

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.

Privacy & Terms