Quantcast
Channel: Latest Questions on Unity Answers
Viewing all articles
Browse latest Browse all 171066

Java script error

$
0
0
hello, I am a begginer in unity and I started to download lessons either from unity site or other sites but I always get a java script error even if I copy the scripts from it's resources and paste it here is the script #pragma strict var speed : float = 25; var rotation : float = 2 ; function Update () { var pushforce : Input.GetAxis ; ("Vertical") * speed ; var rotationforce; Input.Getaxis ("Horizontal")* rotation ; // if user presses up or down , move front or back rigidbody.AddRelativeForce (0,0,pushforce); // if user presses right or left , move right or left transform.Rotate (0, rotationforce,0); } and here is the error ![alt text][1] Please help me [1]: /storage/temp/18863-capture.jpg

Viewing all articles
Browse latest Browse all 171066

Trending Articles



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