Custom Networking & Nav Mesh Agent
I'm creating a game that utilities a click to move approach and my own network implementation. I'm struggling to network player movement together.
I first attempted to recreate a new path and SetPath of the NavMeshAgent; but noticed it wasn't possible to create a path - only read one. I then attempted to just sync the players current position and rotation - which works but is very jerky. To attempt to resolve this I also synced the velocity/desired velocity/acceleration and tried to predict player movement - but this still seems pretty jerky and I can't seem to accurately do this prediction during the acceleration/braking phases.
Can anyone think of a good way to network these movements, or accurately predict velocity, or am I going to have to roll my own implementation of something like NavMeshAgent?
Your answer
![](https://koobas.hobune.stream/wayback/20220612153712im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Networked movement using navmesh agent 0 Answers
How to make a NavMeshAgent move in the direction it is looking? 4 Answers
Using Rigidbody physics to move an enemy with NavMeshAgent - De-sync issues 0 Answers
UNET NavMeshAgent Sync Target Transform 0 Answers
Smooth movement with Network Transform - NavMeshAgent 0 Answers