Quantcast
Channel: Questions in topic: "addforce"
Viewing all articles
Browse latest Browse all 1264

Use addForce to Jump

$
0
0
It's my code void FixedUpdate(){ if (Input.GetKey (KeyCode.Space)) { GetComponent ().AddForce (new vector2(0,5) ); } } But it's not working

Viewing all articles
Browse latest Browse all 1264

Trending Articles



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