hestia-rsps / hestia

An open-source Kotlin game server.
BSD 3-Clause "New" or "Revised" License
16 stars 4 forks source link

Path finding, collision, following, stalking (combat following). API moved out of plugins. #14

Closed GregHib closed 5 years ago

GregHib commented 5 years ago

Started refactoring pathing, added width/height support, added object entities

Implementation tests for Navigation, Interaction & Paths

Refactored Size 1 pathfinding, started on size X but incomplete, Improved methods in DirectionUtils and created Direction.kt, more path unit tests

Move api to server, added load(regionId) to region builder, added collision plugin for entity & object collision, fixed up movement unit tests

Collision plugin, object & entity collisions

Fixed beside calculation, removed lastX/Y from the beside calc to improve and fix entity collision

Following, stalking (combat following), collision ghosting and various fixes

Entity collision fixes, distinction between not colliding (ghost) and not being collided with (permeable)