Page 1 of 1

[Solved] Jumping Bug

Posted: Fri Dec 08, 2006 6:09 pm
by x3n
While testing the engine in high-poly levels, I discovered a strange bug.
The less fps I got, the higher I could jump.

In the pictures below you see the maximal jumping height with two different frame rates (look at the fps).

Another effect is, that the waiting time between two jumps is much higher with low fps.

Maybe the height and the waiting time are frame based instead of time based?


Image <=> Image

Posted: Fri Feb 02, 2007 4:45 pm
by Nowic
Does this bug still exist in the current version?

Posted: Sat Feb 03, 2007 11:23 am
by silvan
This post remined me to remove the "position output hack" from the fps player.
If you check out the trunk now, jumping will work again !

Posted: Sat Feb 03, 2007 1:03 pm
by Nowic
Does it just jump? Or jump without the bug?

Maybe we have to remove it again, if the player can do strange things in the spacestation.

Posted: Sat Feb 03, 2007 11:51 pm
by silvan
To be completely honest: I never tested it. I just commented out the code and checked it in! So the implementation of the jumping is still the same.

But I can look into the bug tomorrow (or better: later today).

Re: Jumping Bug

Posted: Sun Feb 04, 2007 11:08 am
by silvan
x3n wrote: Maybe the height and the waiting time are frame based instead of time based?
Yes they were! I fixed this and commited it in the trunk.

Posted: Sun Feb 04, 2007 11:30 am
by beni
I guess it was an easy task, but thanks anyway. :D