Hi,
I've programmed a method "fallUntilGround". Here's the code:
As you can see, the code is really simple. But when I implement it in my game, my actor "jumps" on the ground without showing me all the frames. Do you guys know where the problem is?
public void fallUntilGround() { if (! onGround()) { checkFall(); fallUntilGround(); } }