Skip to content

Commit

Permalink
basis network receiver
Browse files Browse the repository at this point in the history
  • Loading branch information
dooly123 committed Jan 26, 2025
1 parent 9f2a9a4 commit 95f365a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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))
{
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 95f365a

Please sign in to comment.