How to make physic based movement for a player?
I am very new to programming and game design in general, and I am trying to make a 3D platformer where you jump around on floating platforms to get to a destination in the shortest time possible. The way I want it to control is like the game by "Brackeys" called "Ball Wars" which you can find on his youtube channel. If you don't have the time to watch it, basically, I want movement code that makes it so when you try to move in one direction, if you already going in that direction, it applies just enough acceleration so you only go a certain speed and if your going the opposite direction, more acceleration to get to that same speed. In other words, non slippery controls. Like I said before, I don't know how to do this and my game relies on non slippery controls.
Your answer
![](https://koobas.hobune.stream/wayback/20220612145426im_/https://answers.unity.com/themes/thub/images/avi.jpg)