I’ve found that LeapMotion doesn’t work very well with UE4 compared to Unity. There are some performance issues (probably related to the plugin) which need to be resolved.
I’ve got it working in a somewhat decent state using UE4 though. Here are the tweaks I had to make:
-Turn OFF the “Robust Mode”. It tries to automatically account for bright lighting conditions and it goes too far and can’t see anything. Hence, hands don’t appear very well and they seem to jump around.
-Cover your windows, keep out the sunlight
-Make sure you’re using the fastest USB ports. Avoid the front panel USB ports since they usually go through an internal USB hub. USB 2.0 is a minimum, go for 3.0 if you can.
-Turn off the image capture setting (its good for finding sources of IR light though)
-Run the diagnostics and make sure everything is green
-Make sure its oriented correctly (ie, not upside down).
-It can get hot, and that can cause malfunctions with the USB device drivers. You’ll have to unplug and replug in the device.
-Test your performance in a very limited scene to rule out rendering and CPU bottlenecks