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?
↧