I’m trying out the Leap Motion 4.9 demo examples and find that when building and running the demos (using Play->VR Preview) the leap is not using HMD mode.
I can tell the leap is using up-facing mode because it does display the hands if you move them in that orientation. Obviously that does me no good cause its attached to the headset
I dug into the blueprint and code for LM_DemoControllerActor and looked at it’s inherited LeapMotionControllerComponent settings. The Hmd Mode was not checked so I checked that and recompiled and tried again. Still the Leap doesn’t use HMD mode.
I looked at the Leap Motion API and they state the
should be set. Looking at the LeapMotionControllerComponent.cpp the HMD mode is set to false by default (
bHmdMode = false;
) but that variable is the one I’m setting in the blueprint details, I can see where it is exposed to blueprints in the header file:
/** * Whether to transform the tracking data as appropriate for a Leap Motion device * attached to an HMD. */ UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = LeapMotion) bool bHmdMode;
I also tried calling the exposed Use Hmd Mode function in blueprints. No dice.
Anyone have recommendations how to fix this?