scale near and far planes with size
This commit is contained in:
parent
9eeb2f8963
commit
2ffb72a69f
|
@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue