Skip to content

Optimize collision detection #16

@AMDmi3

Description

@AMDmi3

We only need to check collisions in the direction the player is moving, and only by the depth of his speed per frame. Loops in collision detection may be optimized in a way that they terminate after finding the first collision (order matters though).

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