Dirk
Member
Hi!
When the player jumps from the top of the screen he often glitches through the ground tiles and falls down. It seems like his speed gets too fast for the collision detection. My player has a small bounding box of 8x7.
I can't make the bounding box bigger or I would be wasting space for sprites.
Is there a fix for the collision detection? I couldn't find it via search, but I've learnt that there should be a fix for this.
A simple quick fix that comes to my mind would be capping the player's speed. Is there currently a terminal velocity for the player and can I set it somewhere?
When the player jumps from the top of the screen he often glitches through the ground tiles and falls down. It seems like his speed gets too fast for the collision detection. My player has a small bounding box of 8x7.
I can't make the bounding box bigger or I would be wasting space for sprites.
Is there a fix for the collision detection? I couldn't find it via search, but I've learnt that there should be a fix for this.
A simple quick fix that comes to my mind would be capping the player's speed. Is there currently a terminal velocity for the player and can I set it somewhere?