[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5150: file_get_contents(https://freedomsponsors.org/api/project/294): failed to open stream: HTTP request failed! HTTP/1.1 502 Bad Gateway
Leap Motion FTW - Forums | Torque 3D

Leap Motion FTW

Scripts and code that enhance the gameplay functionality of the engine.
3 posts Page 1 of 1
Posts: 4
Joined: Wed Mar 23, 2016 4:24 pm
  by theoffspring18 » Thu Apr 28, 2016 12:37 pm
i try to use the leapmotion for a project i have

I followed this tutorial for the set up:
and i added the following piece of code in "script/client/default.bind.cs" :

function trytomove( %val )

function trytomove2( %val )
echo ("BONJOUR");

$LeapMotion::GenerateSingleHandRotationAsAxisEvents = true;
moveMap.bind( leapmotion, lm_handaxisx, "D", "-0.23 0.23", trytomove );
moveMap.bind( leapmotion, lm_handaxisy, "D", "-0.23 0.23", trytomove2 );

I try to just move my player to check if the controller works and nothing is happening,
It's like the leap motion is not reconized on my project , did anyone here use the leap motion ?

I precise that my leap motion works fine with the marble motion game:

Thanks for your help in advance,

Posts: 4
Joined: Wed Mar 23, 2016 4:24 pm
by theoffspring18 » Thu Apr 28, 2016 5:28 pm
Small update:
When i run the generateProject.bat it says : "unable to copy required file for project:
Source file: /LeapSDK/lib/x86/LeapD.dll

I can't find this file in the latest version of the SDK of the leap motion, maybe it has been removed, maybe it is why it isn't working.

Does anyone ever use LeapMotion for their project ?
Posts: 32
Joined: Tue Feb 03, 2015 8:55 pm
by TRON » Fri Apr 29, 2016 6:45 am
According to the Leap Motion SDK project setup documentation page's comments LeapD library is no longer provided and it's just leap.dll/.lib now. So projectGenerator needs to be updated to not try to copy those files anymore.
3 posts Page 1 of 1

Who is online

Users browsing this forum: Google [Bot] and 1 guest