diff --git a/Basis/Packages/com.basis.framework/Networking/Recievers/BasisNetworkReceiver.cs b/Basis/Packages/com.basis.framework/Networking/Recievers/BasisNetworkReceiver.cs index 742a26d63..de67b41fa 100644 --- a/Basis/Packages/com.basis.framework/Networking/Recievers/BasisNetworkReceiver.cs +++ b/Basis/Packages/com.basis.framework/Networking/Recievers/BasisNetworkReceiver.cs @@ -125,6 +125,7 @@ public void Compute(double TimeAsDouble) } } public JobHandle EuroFilterHandle; + public Vector3 PositionOffset; public void Apply(double TimeAsDouble, float DeltaTime) { if (PoseHandler != null) @@ -143,6 +144,7 @@ public void Apply(double TimeAsDouble, float DeltaTime) PoseHandler.SetHumanPose(ref HumanPose); RemotePlayer.RemoteBoneDriver.SimulateAndApply(DeltaTime); + // RemotePlayer.BasisAvatar.FaceVisemeMesh.transform.position = RemotePlayer.RemoteBoneDriver.Hips.OutgoingWorldData.position; } if (interpolationTime >= 1 && PayloadQueue.TryDequeue(out AvatarBuffer result)) { @@ -216,8 +218,6 @@ public void ApplyPoseData(Animator animator, float3 Scale, float3 Position, quat // Apply scaling to position Vector3 ScaledPosition = Vector3.Scale(Position, Scaling); // Apply the scaling - //come back to this later! - RemotePlayer.BasisAvatar.transform.position = ScaledPosition; // BasisDebug.Log("ScaledPosition " + ScaledPosition); // Apply pose data HumanPose.bodyPosition = ScaledPosition;