[Plugin] Leap Motion - Event Driven

This has to do with lack of proper timewarp support, currently tracked as an issue: https://.com//leap-ue4/issues/9.

Modern HMD software stack is late updated in the render thread with a fair bit of magic to make sure the perceived latency is 0. Leap timewarp is the attempt of ensuring the latest available leap tracking data is orientation warped by the hmd rotation that happened since that sample was taken.

I did make an attempt of adding this feature, but so far it becomes unstable when you overdrive it (real jitter) to get 0 perceived latency. Something is still missing.

This is the major holdout for the UE plugin in the current state and I want to take another look at it, likely when I’ll do the modern rewrite for this plugin. If you feel like you can help, by all means take a look at the source :slight_smile: ! Perhaps someone will spot why our version of timewarp is jittery while Unity’s is not.