MidnightAleks
New member
Hi If I wanted to move a character on a client, how would I go about replicating the movement over the network? I was expecting to pass a vector and the controller would simply move according to it. The only obvious method is Move from UltimateCharacterLocomotion, I tried things like:
But no luck, Justin on discord said "You should instead sync the transform and animator separately outside of the move method. This is what the PUN add-on does." But didn't provide a example. Can someone or Justin himself share some tips/example of how to approach networking. Cheers
UltimateCharacterLocomotion.InputVector = new Vector2(-1, -.6f);
UltimateCharacterLocomotion.DesiredMovement = new Vector2(-1, -.6f);
UltimateCharacterLocomotion.LocalDesiredMovement = new Vector2(-1, -.6f);
But no luck, Justin on discord said "You should instead sync the transform and animator separately outside of the move method. This is what the PUN add-on does." But didn't provide a example. Can someone or Justin himself share some tips/example of how to approach networking. Cheers