0 votes

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

asked Feb 26, 2019 in Engine by marcorexo (85 points)
edited Feb 26, 2019 by marcorexo

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.