Is there a way to make a vehicle gain speed downhill? Please Help!

Hi, I’m currently creating a mountain bike game and I have next to no knowledge on scripting, so I was just curious if there is a way to increase a bikes speed when it’s going downhill without creating a script and increasing gravity? If its impossible to do this without a script can someone please point me in the right direction so I can create this script?

thank you for your response!

-Asher

Please be more descriptive in the thread title.
https://forum.unity.com/search/89205560/?q=Please+Help&t=post&o=date&c[title_only]=1
Also, show what you tried. No one will write game for you.
You should describe problem and explain, what exactly you stuck on.

3 Likes

Sorry about that, I edited the forum and I hope this helps more :smile:

1 Like

Well done. Thx.

The easiest way to do, is to apply Rigidbody to GameObject. This is a component. It has a gravity set by default.
But other than that, I am afraid, you may really struggle with game dev, without scripting.
So I would suggest, try to learn programming.
Either way, check range of tutorials on the web. Just make sure, you use same Unity version, as tutorial was made for. Or you will run into lot of frustrations, as things changed. :slight_smile:

There are some visual scripting tools however. But I think they are far from ideal. Check Unity Asset Store.
Still, you need some at least basics programming knowledge.

1 Like

Thank you so much! ill try my best!!

If you’re using the physics system, it will handle the downhill acceleration for you automagically. It may require some tweaking to your bike or the slope to get things exactly how you want it. More experimentation than explanation.