v 0.1.06 - 2018.03.05
- Completely upgraded pathfinding system
- Completely reworked mob spawning system
- Can now walk on resources and stumps
- Fixed a bug related to long distance teleporting
- Changed obelisk sensing collider to a 0.5s sphere check
The system isn't perfect, nor does it need to be right now. There are seams between sectors that monsters can get hitched on, but not often, and especially not when chasing players. Monster and pig AI has been rewritten to accommodate the new system and still needs a bit of improvement and tweaking.
Ultimately this system will be much more universally available to all entities, friendly and not, making it easier for me to add in new monsters and NPCs which I hope to get into over the next couple days!
Mobs now also spawn statically per area, though they do not yet check for housing and player proximity so you may run into a monster when reloading a saved game, but this will be addressed today or tomorrow. It may be a bit difficult to level at the moment, but this too will change today or tomorrow with the addition of new content and some tweaks.
Sorry to keep everyone waiting until I could get this working, but it's a big improvement for my work flow. There is also now less of a "tick" to the game that some players were aware of, caused in part by the old pathfinding system that was constantly updating "nodes" on the main thread whenever you were moving around. Navigation map generation is now off the main thread and only happens in chunks of around 100m, mostly imperceptible.
