Quantcast
Channel: Questions in topic: "error"
Viewing all articles
Browse latest Browse all 7934

Why won't my player rotation script work?

$
0
0
I have been having trouble with my code it has four errors that I don't know how to solve: if(Input.GetAxis ("Mouse X") < 0) { transform.Rotate (Vector3.up) * speed; } if(Input.GetAxis ("Mouse X") > 0) { transform.Rotate(Vector3.up) * -speed; } } }

Viewing all articles
Browse latest Browse all 7934

Trending Articles



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