kinect Xbox 360 sdk 1.8 Plugin for Unreal Engine 4
- clone the code into the "Pluings" folder of your c++ ureal engine project (ex. myProject\Plugins\KinectXbox360-UE4)
- run, compile project as usual
In microsoft windows should detect the device and install the drivers by itself.
- Kinect node is a functionLibrary, this return the Class UKinectManager.
- Get Sensor is a method of that class and returns an array of connected Kinect (UKinectSensor class), in this example I take the first sensor found.
- Now we can initialize the sensor:
- We use the method UpdateColor and UpdateDepth. (look at the picture above, also each material has been applied to Cube and Cube1.)
- The function UpdateSkeleton set a structure array variable (skeletons detected).
- Each structure contains:
- JointPosition (array Vector)
- Rotation Bones (array Rotation)
- PlayerID (Skeleton ID)
- Each structure contains: