Compare commits

..

No commits in common. "c51757b700e4c8e38143341e080fbb05fd16ffa3" and "05308d88f113fb876617898d38ccb8a97a33a6f9" have entirely different histories.

2 changed files with 2 additions and 10 deletions

View file

@ -38,5 +38,3 @@ mesh = SubResource("CapsuleMesh_ij1v8")
shape = SubResource("SphereShape3D_iyx0m")
[node name="XRCamera3D" type="XRCamera3D" parent="."]
[connection signal="profile_changed" from="LeftHand" to="LeftHand" method="OnProfileChanged"]

View file

@ -35,8 +35,7 @@ public partial class XRHand : XRController3D
continue;
}
if (body.Mass > strength)
{
if (body.Mass > strength) {
continue;
}
@ -54,9 +53,4 @@ public partial class XRHand : XRController3D
joints.Clear();
}
}
public void OnProfileChange(string name) {
GD.Print("Profile changed to:");
GD.Print(name);
}
}