Hi,
i try to use the leapmotion for a project i have
I followed this tutorial for the set up:
http://wiki.torque3d.org/coder:leap-motion-setup
and 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-motion
Thanks for your help in advance,
Sincerly,