kikito / bump.lua

A collision detection library for Lua
MIT License
920 stars 86 forks source link

Standing on just exactly on the corner of a rectangle #48

Open nilq opened 6 years ago

nilq commented 6 years ago

Good evening, kikito

I know this is issue has been closed before, but that just didn't do it - I guess. To clarify, I'm developing a very simple platformer in which the player has a square collider and the blocks have the same size square colliders.

When the player jumps while standing against a wall, he will land on the exact corner of the block he's jumping against.

I guess this video, do excuse the title :)), describes my problem better:

https://www.youtube.com/watch?v=fsdCwZuit3w

Here's a gist with the player code, if it's any good: https://gist.github.com/nilq/efd64f24c51a37419f788a599addb846

alexmozaidze commented 10 months ago

Is this problem still relevant?