Skip to content

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

@nilq

Description

@nilq

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions