scale near and far planes with size

This commit is contained in:
Snorre 2025-04-05 17:32:37 +02:00
parent 9eeb2f8963
commit 2ffb72a69f

View file

@ -46,6 +46,9 @@ public partial class Mouth : XRCamera3D
LeftHand.Strength = MaxEatWeight;
GD.Print("New MaxEatWeight: ", MaxEatWeight);
GD.Print("New WorldScale: ", WorldScale);
Near = 0.05f * MaxEatWeight;
Far = 4000f * MaxEatWeight;
}
}