grab radius scales with size

This commit is contained in:
Snorre 2025-04-05 17:33:40 +02:00
parent 2ffb72a69f
commit 6db9476404

View file

@ -17,7 +17,7 @@ public partial class XRHand : XRController3D
{
var query = new PhysicsShapeQueryParameters3D();
var sphere = new SphereShape3D();
sphere.Radius = 0.1f;
sphere.Radius = 0.1f * Scale.X;
query.Shape = sphere;
query.CollideWithBodies = true;
query.CollideWithAreas = false;