Quantcast
Channel: Questions in topic: "wheelcollider"
Viewing all articles
Browse latest Browse all 490

How to make a car move forward indefinitly ?

$
0
0
I made a car controller and it works, the car moves. but the problem is that it needs input to move forward. But in the game that i'm making, it has to go forward constantly. And input will be used to go left, right and backwards. How to i make it go constantly forward ? Here is the input part of my code. private void GetInputs() { inputX = Input.GetAxis("Horizontal"); inputY = Input.GetAxis("Vertical"); }

Viewing all articles
Browse latest Browse all 490

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>