- Home /
how to track only two users in kinect ??
if (user.SkeletonTracked)
{
foreach (ZigInputJoint joint in user.Skeleton)
{
if (joint.GoodPosition) UpdatePosition(joint.Id, joint.Position);
if (joint.GoodRotation) UpdateRotation(joint.Id, joint.Rotation);
}
}
I am using above code to detect and track user ,i want to track only two users how can i achieve it?? i am using zigfu's topdownradar scene , and above code is taken from one of its script.
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613132755im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How to connect Kinect to unity 3D on Mac? 0 Answers
unity+zigfu+kinect 1 Answer
Kinect Unity Integration DLL Not Found trouble 0 Answers
Interactive Kinect Game 2 Answers