Q3Controller_SetTrackerOrientation
You can use theQ3Controller_SetTrackerOrientationfunction to set the orientation of a controller's tracker.
TQ3Status Q3Controller_SetTrackerOrientation ( TQ3ControllerRef controllerRef, const TQ3Quaternion *orientation);
controllerRef- A reference to a controller.
orientation- The desired orientation of the tracker associated with the specified controller.
DESCRIPTION
TheQ3Controller_SetTrackerOrientationfunction changes the orientation of the tracker currently associated with the controller specified by thecontrollerRefparameter to the orientation specified in theorientationparameter. If no tracker is currently associated with that controller,Q3Controller_SetTrackerOrientationchanges the orientation of the system cursor's tracker.Q3Controller_SetTrackerOrientationhas no effect if the controller is inactive.
- Note
- Calling
Q3Controller_SetTrackerOrientationmight cause the notify function of the controller's tracker to be called.![]()