- Home /
Network animations
I'v made few animations and the problem is that the animations dont apply to other players or it doesn't sync even if i have the sync animations script attached to the player prefab.
So to make the point clear it goes like this:
I connect as a server
Second player connects to my server
If the second player walks a bit and then stops and the idle animation should start, then it doesnt start. thats it.
Any clues and help would be appreciated, thanks in advance.
Answer by Hardstop · Jul 11, 2014 at 10:33 AM
I'v heard that RPC isn't a good way to go with animations due to going desync when a server is lagging?
I have used it and it worked for me. Create a function and make it [RPC] pass the anim name as string and use. If server is lagging it is going to affect the entire thing, Even if you do Network instantiate it will also will get affected with it.
Answer by Unity_gamer · Jul 11, 2014 at 10:20 AM
Use RPC Calls. http://docs.unity3d.com/ScriptReference/RPC.html
Your answer
Follow this Question
Related Questions
Sync animaor of child prefab 0 Answers
Network : command doesnt work... 0 Answers
Animation does not work for the remote player 0 Answers
Multiplayer Walk animation playing for opposite person 0 Answers