Skip to content

Commit

Permalink
final push version 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidGoedicke committed Apr 2, 2019
1 parent 659aa4f commit 594e89f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Assets/RemoteHandManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -271,8 +271,8 @@ public void RecieveOtherVRHead(NetworkMessage msg)
}
if (RemoteSyncedObjectsDict[newHead.netId].head != null)
{
RemoteSyncedObjectsDict[newHead.netId].head.position = Vector3.Lerp(RemoteSyncedObjectsDict[newHead.netId].head.position, newHead.HeadPos, 0.5f);
RemoteSyncedObjectsDict[newHead.netId].head.rotation = Quaternion.Lerp(RemoteSyncedObjectsDict[newHead.netId].head.rotation, newHead.HeadRot, 0.5f);
RemoteSyncedObjectsDict[newHead.netId].head.position = Vector3.Lerp(RemoteSyncedObjectsDict[newHead.netId].head.position, newHead.HeadPos, 0.35f);
RemoteSyncedObjectsDict[newHead.netId].head.rotation = Quaternion.Lerp(RemoteSyncedObjectsDict[newHead.netId].head.rotation, newHead.HeadRot, 0.35f);
}
else
{
Expand Down

0 comments on commit 594e89f

Please sign in to comment.