We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b46efd9 commit 379b252Copy full SHA for 379b252
LowLevel/Sandbox/Assets/Scenes/Benchmark/LargeWorld/LargeWorld.cs
@@ -102,11 +102,7 @@ private void SetupOptions()
102
103
// If we're no longer following the car then set the current camera position to the car position.
104
if (!m_FollowCar)
105
- {
106
- //m_CameraPosition = new Vector2(m_FrontWheelJoint.bodyA.position.x, m_CameraPosition.y);
107
- var startX = -0.5f * m_CycleCount * m_WavePeriod;
108
- m_CameraPosition = new Vector2(startX + m_GridCount * m_GridSize, m_CameraPosition.y);
109
- }
+ m_CameraPosition = new Vector2(m_FrontWheelJoint.bodyA.position.x, m_CameraPosition.y);
110
});
111
112
// Camera Pan Speed.
0 commit comments