Hello…here is the situation:
- I have a Character with animation
attached with ThirdPersonControl
script from unity package. - My character is Instantiated by
network,so I also attach a something
to disable TPC script while
NetworkView is not mine
something like this :
function OnNetworkInstantiate (msg : NetworkMessageInfo) {
if (networkView.isMine==false){
GetComponent("ThirdPersonCamera").enabled=false;
GetComponent("ThirdPersonController").enabled=false;
GetComponent("CharacterController").enabled=false;}
}
when I test it, all player movements is OK, but animation of other player is not played, it seems not synced because I disable TPC control, right? then what the best solution of this?
any help will be appreciated…