Compare commits
No commits in common. "c51757b700e4c8e38143341e080fbb05fd16ffa3" and "05308d88f113fb876617898d38ccb8a97a33a6f9" have entirely different histories.
c51757b700
...
05308d88f1
|
@ -38,5 +38,3 @@ mesh = SubResource("CapsuleMesh_ij1v8")
|
||||||
shape = SubResource("SphereShape3D_iyx0m")
|
shape = SubResource("SphereShape3D_iyx0m")
|
||||||
|
|
||||||
[node name="XRCamera3D" type="XRCamera3D" parent="."]
|
[node name="XRCamera3D" type="XRCamera3D" parent="."]
|
||||||
|
|
||||||
[connection signal="profile_changed" from="LeftHand" to="LeftHand" method="OnProfileChanged"]
|
|
||||||
|
|
|
@ -35,9 +35,8 @@ public partial class XRHand : XRController3D
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (body.Mass > strength)
|
if (body.Mass > strength) {
|
||||||
{
|
continue;
|
||||||
continue;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Generic6DofJoint3D joint = new();
|
Generic6DofJoint3D joint = new();
|
||||||
|
@ -54,9 +53,4 @@ public partial class XRHand : XRController3D
|
||||||
joints.Clear();
|
joints.Clear();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void OnProfileChange(string name) {
|
|
||||||
GD.Print("Profile changed to:");
|
|
||||||
GD.Print(name);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue