Skip to content

Better unit movement #9

@yufeih

Description

@yufeih

The unit movement was implemented using a pretty awkward "grid ownership" model: a unit owns a grid entirely, whenever a unit moves, it updates the underlying grid. This results in excessive path finding cost and jarring movements.

The idea is to use a 2D physics engine for unit collision detection and movement. Pathfinding can potentially be improved with flowfield later.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions