There is a logic problem in your code
foreach (Skeleton skel in skeletons)
{
if (skel.TrackingState == SkeletonTrackingState.Tracked)
{
this.tracked(skel);
}
}
You must define a way to distinguish one skeleton to another and do a specific action for each.
For example, you can use the global skeleton position to define which panel has to be control by the skeleton.
foreach (Skeleton skel in skeletons)
{
if (skel.TrackingState == SkeletonTrackingState.Tracked)
{
if (skel.Position.X < 0) // user on the left side
this.controlLeftPanel(skel);
else // user on the right side
this.controlRightPanel(skel);
}
}
Vincent Guigui Innovative Technologies Expert at OCTO Technology Kinect For Windows MVP award