- Home /
Sync Animations through Network (Mecanim)
Hey all.
Atm. i have a player which can be controlled by mouse Input (Like Diablo or Path of Exile). I rotate the player in the direction of the last Raycast hit and then set the run state till i reach the target(with Mecanim).
Now i want to expand the Code to work for network player. I cant find any tutorial about how to use Mecanim for the player with a network view.
Can someone point me to a good tutorial for this ? Or maybe explain how to do this ?!
Thanks / Greetings
Teiwaz
As much i understand now, after reading alot and let google run hot ist that i need to write a RPC Call in which i specify the Player (maybe over a PlayerID) and set the Animation State on all Cleints/Server to what i want (idel/walk/Die/Atack). The owner of the Char (the Client controlling it) will set the Animation for himself and all other Clients. Is that right so far ?
There is just a few information how to sync animations with $$anonymous$$ecanim over the Network. There should be a little bit more cause its a good example for how to use RPC.
Thanks / Greetings
Teiwaz
Your answer
Follow this Question
Related Questions
State synchronization non-functional after mode change? 0 Answers
The name 'Joystick' does not denote a valid type ('not found') 2 Answers
Animation and Reliable Delta Compression State Synchronization 1 Answer
Who owns NetworkViews placed in the editor? 1 Answer
Send animation playhead to frame 0 Answers