How to add random force on x axis for a moving object?
Hey so im making a game in wich you will have to balance a capsule and it will be operated with phones gyroscope so it will move left and right and by default its always going forward but i also need random forces throughout the level to push the player on x axis (so left and right ) so it will be more challanging ive tried my best but cant do it :/
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612223840im_/https://answers.unity.com/themes/thub/images/avi.jpg)