Compare commits
2 commits
9eeb2f8963
...
6db9476404
Author | SHA1 | Date | |
---|---|---|---|
|
6db9476404 | ||
|
2ffb72a69f |
|
@ -46,6 +46,9 @@ public partial class Mouth : XRCamera3D
|
||||||
LeftHand.Strength = MaxEatWeight;
|
LeftHand.Strength = MaxEatWeight;
|
||||||
GD.Print("New MaxEatWeight: ", MaxEatWeight);
|
GD.Print("New MaxEatWeight: ", MaxEatWeight);
|
||||||
GD.Print("New WorldScale: ", WorldScale);
|
GD.Print("New WorldScale: ", WorldScale);
|
||||||
|
|
||||||
|
Near = 0.05f * MaxEatWeight;
|
||||||
|
Far = 4000f * MaxEatWeight;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -17,7 +17,7 @@ public partial class XRHand : XRController3D
|
||||||
{
|
{
|
||||||
var query = new PhysicsShapeQueryParameters3D();
|
var query = new PhysicsShapeQueryParameters3D();
|
||||||
var sphere = new SphereShape3D();
|
var sphere = new SphereShape3D();
|
||||||
sphere.Radius = 0.1f;
|
sphere.Radius = 0.1f * Scale.X;
|
||||||
query.Shape = sphere;
|
query.Shape = sphere;
|
||||||
query.CollideWithBodies = true;
|
query.CollideWithBodies = true;
|
||||||
query.CollideWithAreas = false;
|
query.CollideWithAreas = false;
|
||||||
|
|
Loading…
Reference in a new issue