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

Rigidbody2D AddForce only working with large numbers

$
0
0
I have a character that I am trying to make jump. I can make them move left and right with inputs and setting velocity and what not, but the jump isn't working. I'm using AddForce like so: ![alt text][1] [1]: /storage/temp/79885-screen-shot-2016-10-10-at-82636-pm.png "Jump" appears in the console so the function is being called, but the character doesn't move. However, when I put the number being multiplied in the function (125) to something really high like 500, the character shoots up in the air. Does anyone know why it is working like this?

Viewing all articles
Browse latest Browse all 1264


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