isles icon indicating copy to clipboard operation
isles copied to clipboard

Better unit movement

Open yufeih opened this issue 2 years ago • 0 comments

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.

yufeih avatar Dec 01 '21 12:12 yufeih