GCMotion
A controller profile that supports orientation and motion.
Declaration
class GCMotionOverview
The motion controller profile provides attitude and rotation data, as well as acceleration and sensor information. Use this profile to get motion input from a controller that measures acceleration and rotation rate. If the controller’s motion property is a GCMotion object, the controller supports motion.
This illustration shows the direction of the x, y, and z axes of an iPhone when held upright.
[Image]