theoffspring18 Posted April 28, 2016 Share Posted April 28, 2016 Hi, i try to use the leapmotion for a project i haveI followed this tutorial for the set up: http://wiki.torque3d.org/coder:leap-motion-setupand i added the following piece of code in "script/client/default.bind.cs" : "function trytomove( %val ){moveforward(%val);}function trytomove2( %val ){movebackward(%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:http://wiki.torque3d.org/demo:marble-motionThanks for your help in advance, Sincerly, Quote Link to comment Share on other sites More sharing options...
theoffspring18 Posted April 28, 2016 Author Share Posted April 28, 2016 Small update: When i run the generateProject.bat it says : "unable to copy required file for project:Source file: /LeapSDK/lib/x86/LeapD.dllI 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 ? Quote Link to comment Share on other sites More sharing options...
TRON Posted April 29, 2016 Share Posted April 29, 2016 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.