mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-02-21 18:40:03 +00:00
AnimationSync: PlayerHeadRotationSync is already on remote player
This commit is contained in:
parent
335614f609
commit
e29649170a
@ -89,8 +89,8 @@ namespace QSB.Animation.Player
|
||||
InitAccelerationSync();
|
||||
ThrusterManager.CreateRemotePlayerVFX(Player);
|
||||
|
||||
var ikSync = body.gameObject.AddComponent<PlayerHeadRotationSync>();
|
||||
Delay.RunWhen(() => Player.CameraBody != null, () => ikSync.Init(Player.CameraBody.transform));
|
||||
Delay.RunWhen(() => Player.CameraBody != null,
|
||||
() => body.GetComponent<PlayerHeadRotationSync>().Init(Player.CameraBody.transform));
|
||||
}
|
||||
|
||||
private void InitAccelerationSync()
|
||||
|
Loading…
x
Reference in New Issue
Block a user