Compare commits
No commits in common. "22fe0a2a1d47216f3e9064a748062cd047d56e2c" and "88d03f8504d5261d2c05d014a7f283cdf64acc14" have entirely different histories.
22fe0a2a1d
...
88d03f8504
|
@ -49,9 +49,6 @@ public partial class Mouth : XRCamera3D
|
||||||
|
|
||||||
Near = 0.05f * MaxEatWeight;
|
Near = 0.05f * MaxEatWeight;
|
||||||
Far = 4000f * MaxEatWeight;
|
Far = 4000f * MaxEatWeight;
|
||||||
|
|
||||||
GD.Print("New Near: ", Near);
|
|
||||||
GD.Print("New Far: ", Far);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -35,13 +35,9 @@ public partial class XRHand : XRController3D
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
GD.Print("Detected body with mass", body.Mass);
|
|
||||||
|
|
||||||
if (body.Mass > Strength)
|
if (body.Mass > Strength)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
GD.Print("Picked up ", body);
|
|
||||||
|
|
||||||
PinJoint3D joint = new();
|
PinJoint3D joint = new();
|
||||||
joint.NodeA = GetPathTo(body);
|
joint.NodeA = GetPathTo(body);
|
||||||
joint.NodeB = body.GetPath();
|
joint.NodeB = body.GetPath();
|
||||||
|
|
Loading…
Reference in a new issue