branchrust_reboot/main/Livestock_animals/livestock_nav_optiscancel
3 Commits over 0 Days - Infinitycph!
Fix truncated corridor reporting "path complete" when buffer was too small instead of "path complete"
Fully burst parallel path following, had to do some native changes so that each agent can create and pass a different query instead of sharing, -30%
- ai.batch_navmesh_transforms for only parallel transform update
- ai.batch_navmesh_pathfollowing for full parallel
More path following optis for -17.5%:
- Cache transform in navmesh agent
- Use reference equal instead of == for independantNavmesh to avoid the unity overload
- Batch apply transforms after ticking all agents with IJobParallelForTransform
- Remove one normalize to the movement math