Pose sync is working
(tested host->client and client->host)
This commit is contained in:
parent
48f13ca4fa
commit
717ada8942
@ -69,6 +69,6 @@ MonoBehaviour:
|
||||
_syncFingerSwing: 0
|
||||
_syncFace: 0
|
||||
_syncTracking: 0
|
||||
_debug: 1
|
||||
_debug: 0
|
||||
_sendRate: 25
|
||||
_createLocalRemotes: 0
|
||||
|
@ -265,8 +265,6 @@ namespace Passer.Humanoid {
|
||||
if (humanoid.gameObject != null)
|
||||
Destroy(humanoid.gameObject);
|
||||
}
|
||||
else
|
||||
humanoid.nwId = 0;
|
||||
}
|
||||
}
|
||||
|
||||
@ -409,7 +407,7 @@ namespace Passer.Humanoid {
|
||||
ReceiveHumanoidPoseRpc(data);
|
||||
}
|
||||
|
||||
[Rpc(SendTo.NotServer)]
|
||||
[Rpc(SendTo.NotOwner)]
|
||||
protected virtual void ReceiveHumanoidPoseRpc(byte[] data) {
|
||||
this.ReceiveHumanoidPose(data);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user