2D Ball game in need of help in C#

So, I’ve started playing with Unity a few days ago, and I have no experience with scripting what so ever. I’ve been watching some tutorials, but they all teach the same thing in a different way, and it’s really confusing. I’ve been trying to make this game where you’re a coin and you need to get around an go places, but I can’t get a nice “coin roll” effect in my controller script, that is, I want the coin to start rolling slowly and gradually gain momentum, making it roll faster untill a certain speed, and, when I stop pressing the arrow key, it slowly stops rolling. Basically, I wan’t the coin to roll with actual torque and momentum, like an actual coin. I’m sorry it this is confusing, but I’m not really good with words…
Anyway, the script I’m currently using uses velocity, so the coin starts and stops rolling instantly. If anyone could make a script with commentries, explaining the code, that would be great.

Also, I wan’t the coin to be able to jump

Thanks in advance, BallMan

I can almost certainly promise you that watching tutorials, reading whatever documentation and practicing (as you are) will help you a lot as you go.
You can of course use other forces in the physics engine, and/or simply slow the speed at whatever pace you think makes sense.
Maybe someone else will come by and offer you more specific advice, but I just wanted to wish you good luck and offer a suggestion of expanding some things you want to do with your game. The velocity’s not the end of the world for just right now. :slight_smile:

Jumps are often done by adding a vertical force. (‘.AddForce’).