Skip to content

Commit 42efe93

Browse files
authored
Fixed angles for pathfinder (#591)
1 parent f094ce8 commit 42efe93

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Assets/Prefabs/UI/SettingsMenu/Menus/EphysLinkMenu.prefab

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1429,7 +1429,9 @@ MonoBehaviour:
14291429
m_HorizontalOverflow: 0
14301430
m_VerticalOverflow: 0
14311431
m_LineSpacing: 1
1432-
m_Text: Enable Copilot
1432+
m_Text: 'Enable Copilot (Beta)
1433+
1434+
'
14331435
--- !u!1 &4514077568625554274
14341436
GameObject:
14351437
m_ObjectHideFlags: 0

Assets/Scripts/Pinpoint/Probes/ManipulatorBehaviorController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ private void EchoPosition(Vector4 pos)
151151
{
152152
CommunicationManager.Instance.GetAngles(ManipulatorID, angles =>
153153
{
154-
_probeController.SetProbeAngles(angles);
154+
_probeController.SetProbeAngles(new Vector3(angles.x, 90 - angles.y, angles.z));
155155
_probeController.SetProbePosition(new Vector3(pos.y, pos.x, pos.z));
156156
});
157157
}

0 commit comments

Comments
 (0)