I am currently working on a project in Visual Studio with the Kinect. I was wondering how to detect skeletal data from a user, play a sound and then transit into another event.
This is the basic SkeletonFrameReady event:
private void kinect_SkeletonFrameReady(object sender, SkeletonFrameReadyEventArgs e)
{
using (SkeletonFrame skeletonFrame = e.OpenSkeletonFrame()) // Open the Skeleton frame
{
if (skeletonFrame != null && this.skeletonData != null) // check that a frame is available
{
skeletonFrame.CopySkeletonDataTo(this.skeletonData); // get the skeletal information in this frame
}
}
}
My goal of the application is to use the skeletal data to detect a user, and transit into another xaml file. Would this be possible? Thank you for you time.