I’d love to use UMG widgets in connection with the leap motion sensor but I’m not sure if that’s possible at all right now or how to approach this. Is it possible to raytrace to check if a finger for example points on a button and then invoke the button pressed function or something similar? Or do a collision check with a bounding sphere?
Here is a ray trace example. Just put a socket joint at the tip of a finger(s) using UE4 editor, include this code in your character’s event graph (make sure you put your sockets in place of mine), and link your character’s mesh as “mesh variable”. This example will draw a light saber from your finger to help with visualization, just change the drop down menu for visibility when you want it off.
hi . I have problem about this subject. Did you achive interact to widget with leap motion? what should I do after this BP? if possible help me . thanks