scsale player
This commit is contained in:
parent
988cc79888
commit
9eeb2f8963
|
@ -41,6 +41,7 @@ public partial class Mouth : XRCamera3D
|
|||
MaxEatWeight += (mass / MaxEatWeight) * EatGrowthFactor;
|
||||
float WorldScale = 1.0f / MaxEatWeight;
|
||||
((XROrigin3D)GetParent()).WorldScale = WorldScale;
|
||||
((Node3D)GetParent()).GlobalScale(new Vector3(WorldScale, WorldScale, WorldScale));
|
||||
RightHand.Strength = MaxEatWeight;
|
||||
LeftHand.Strength = MaxEatWeight;
|
||||
GD.Print("New MaxEatWeight: ", MaxEatWeight);
|
||||
|
|
Loading…
Reference in a new issue