logotype/LeapMotionAS3

setPolicyFlags appears to not work

Closed this issue · 2 comments

I'm in native mode (not trough a socket or something)

_controller.setPolicyFlags(Controller.POLICY_OPTIMIZE_HMD);

when i put in above code with that or any other policy it makes things fail.
the debug log shows a constant

...
LNLeapListener::ServiceConnect
LNLeapListener::ServiceConnect
LNLeapListener::ServiceDisconnect
LNLeapListener::ServiceDisconnect
....

And i don't get any frame events.

I would like to get the bitmap data from the ir camera and set HMD mode.
am i doing anything wrong?
Thanks!

saw you added an example.. will try this evening! many thanks for this awesome work!

welcome :)