Quantcast
Channel: Latest Questions by Calum1015
Viewing all articles
Browse latest Browse all 19

Unity 2d controller script, rigidbody2d gravity not working

$
0
0
Hello, I have a controller script below for my 2D game. When I jump I continue to go up, instead of down after the jump climax. Any help would be appreciated! ![alt text][1] [1]: /storage/temp/45307-jumperror.png It's basically making an invisible button on the screen in which, when you click it it makes the player jump. But the player just keeps going skyward.... and never comes down. This is just part of the script not the whole thing I declared all the variables etc.

Viewing all articles
Browse latest Browse all 19

Trending Articles



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