- Home /
Kinect bonePos indexes?
I am using the wrapper for Kinect, and I want to implement a few gestures instead of mapping a model's skeleton to the Kinect's SkeletonWrapper
. I want to use each joint's 3D position data for this, similar to how it's done in the official SDK, with skeleton.Joints[JointType.AnkleLeft].Position.X
, etc.
Now, it seems SkeletonWrapper
objects have a bonePos
array property, which returns the positions of the bones. However, I have searched all over the SDK, as well as in a lot of sample projects, but I can't find the list of joint indexes anywhere.
Does anybody know where I can find this list of bone/joint indexes for the Kinect SDK SkeletonWrapper?
Answer by Arno Sluismans · Jun 04, 2013 at 11:40 AM
I suppose I searched everywhere except the one place that was right in my face all along. The KinectInterop.cs
file has a NuiSkeletonPositionIndex
enum which can be used as index for this array. There we go!
i am facing something similar now ...all i want is to rotate a cube in x-axis depending on the left arm ... so can you advice me to the right way to do it ?
Answer by rzra · Sep 08, 2014 at 04:56 AM
I want to know with wrapper for kinect. How can get joints position data x,y,z? like sdk skeleton.Joints[JointType.AnkleLeft].Position.X, etc. ?
Your answer
![](https://koobas.hobune.stream/wayback/20220613103431im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Kinect user bones orientation data 1 Answer
Kinect bones orientation matching 1 Answer
Kinect v2 rigged model bones orientation 0 Answers
Mesh deformation 0 Answers
Unity with bones 2 Answers