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 c036b2e commit a92e08fCopy full SHA for a92e08f
Assets/HoloToolkit/Utilities/Scripts/StabilizationPlaneModifier.cs
@@ -210,6 +210,8 @@ private void ConfigureGazeManagerPlane(float deltaTime)
210
if (TryGetGazeHitPosition(out gazeHitPosition))
211
{
212
focusPointDistance = (gazeOrigin - gazeHitPosition).magnitude;
213
+ var nearClipPlane = CameraCache.Main.nearClipPlane;
214
+ focusPointDistance = Mathf.Max(focusPointDistance, nearClipPlane);
215
}
216
else
217
0 commit comments