Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | marcorexo |
Hi,
The Leap Motion asset works on my x64 Windows PC. I’m trying to access a hand joint position but I can’t find methods for doing this and Godot’s auto fill doesn’t work with the Leap Motion asset.
func update_lengths():
for d in range(0,5):
# our 5 root nodes should be our 5 fingers
var finger = get_child(d)
if finger and finger.get_child_count() >= 2:
# our first node is our joint, and our second joint is the bone to that joint
var joint = finger.get_child(0)
var bone = finger.get_child(1)
The joint is a MeshInstance as far as I can tell but I don’t know how to return its vector position. please can you help?
Thanks