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

How to jump in a 2D world?

$
0
0
I have setup my game in 2D. I have created an isometric view with graphics. The hero can walk left, right, north and south. I move it using translate. I wanted the character to jump in those directions too. I was planning to use add force but realized that there is no ground plane. For example when the character facing north when I press space-bar he should travel (jump) to a position above the current position. Can anyone suggest how I can make the character jump in those directions?

Viewing all articles
Browse latest Browse all 1264

Latest Images

Trending Articles



Latest Images

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