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

Jump off the edge of the object

$
0
0
Working on runner. Character stands in place and just jumping. Character jumping: if (jump) { dir.y = jumpSpeed; } dir.y -= gravity; rigidbody.AddForce (dir * speed); Main problem is jump height on the edge of the object. It's lower than normal jump. How can I solve this?

Viewing all articles
Browse latest Browse all 1264

Trending Articles



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