/*********************************** ***LEAP MOTION UDK INTEGRATION ***********************************/
Hello, this is Javier from JavDevGames.
To use the code in this repository you're going to need the following things:
- The latest version of UDK
- LeapMotion SDK
- LeapMotion DevBoard
- Visual Studio
Once you have UDK and LeapMotion installed, you can do the following things:
- Copy the DLL in this repository to: -UDK\UDK-xxxx-xx\Binaries\Win32\UserCode
- Copy the Leap.dll that comes with the LeapMotion SDK to: -UDK\UDK-xxxx-xx\Binaries\Win32\UserCode
- Copy the UnrealScript file (LeapMotionUDKDLL.uc) in this repository to: -UDK\UDK-xxxx-xx\Development\Src[Your_Script_Folder]
Then somewhere in your the Unreal Script classes you've created, create an instance of the LeapMotionUDKDLL class by doing one of these:
var LeapMotionUDKDLL mMotionController; mMotionController = new (none) class'LeapMotionUDKDLL'; mMotionController.InitLeapConnection();
Don't forget to call InitLeapConnection, otherwise you won't get any frame updates.
Last updated 31/12/2012.