userDaniel Pcancel
branchrust_reboot/main/naval_update/navmeshsurface_optimcancel

2 Commits over 0 Days - ∞cph!

Today
Update: LimitedTurnNavAgent sets npc's position via helper functions - ScientistNPC2 overrides it to optionally map on to the detached navmesh if it's on a ghost ship - LimitedTurnNavAgent uses navmesh positions to calculate steering to waypoint in FaceTarget mode (think it was the original intent anyway) There's a bunch more code that needs to be converted just to be safe with strong waves Tests: spawned ghost ship away from craggy, enabled AI, and ran around to different areas - scientist caught up, were able to shoot me
Today
Update: GhostShip spawns navmesh instead of NavMeshSurface - Disabled NavMeshSurface on GhostSHip prefab (will need to do it for the rest later) This stops NavMeshSurface constrantly running add-remove navmesh every server frame. Need to figure out how to tie it to NPCs Tests: visualzied navmesh in editor via gizmos, checked profiler to not see any more NavMeshSurface::UpdateActive calls