4.18 - Leap Motion : Position to WorldPosition

Hi, I’m currently new to the leap motion and there are few things that I don’t understand.
I’m using getnamo plugin but I can’t manage to get the world position of the floating hands. I can use some tricks like translation and so that does what I want but I don’t feel like it’s the right way to do.

For example to obtain such result

I had to do nasty things in my blueprint.

Do you have any idea on how to do it properly ?

In the current engine plugin the positions are reported relative to your hmd/controller origin.

With that in mind, there are couple of ways to do this:

  • Simply adding whatever you query e.g. palm postion to your hmd position should give you its world location
  • Parent something like a scene node to the skeletal mesh that is being tracked then query it’s world location
  • There should be a debug hand actor that does something like this in the leap plugin content, see the assets found under Plugins/LeapMotion/Content/Blueprints/Utility for blueprints.
  • Request access to the preview plugin via forum pm, which has simpler API

something like this?

Leap.uasset (136.1 KB)