Introduction
The most important feature of NiTE is recognizing a user's skeleton structure and giving developers the approximate position of each joint. In this chapter, we are going to cover this topic in the first two recipes. Then we will show you how to use this data to create a simple, pong-like game.
The nite::UserTracker object
We already talked about nite::UserTracker
in Chapter 5, NiTE and User Tracking. In this chapter, we will introduce some of the other methods of this class that are going to be used.
A list of the most important methods of this class is as follows:
nite::UserTracker::startPoseDetection()
: This method starts searching for a specific pose of a specific user. If you want to search for more than one pose for a user, you can simply call this method multiple times with different arguments.nite::UserTracker::startSkeletonTracking()
: This method starts the process of recognizing the position and orientation of the skeleton joints of a specific user.nite::UserTracker...