Q3Controller_GetTrackerPosition
You can use theQ3Controller_GetTrackerPositionfunction to get the position of a controller's tracker.
TQ3Status Q3Controller_GetTrackerPosition ( TQ3ControllerRef controllerRef, TQ3Point3D *position);
controllerRef- A reference to a controller.
position- On exit, the current position of the tracker associated with the specified controller.
DESCRIPTION
TheQ3Controller_GetTrackerPositionfunction returns, in thepositionparameter, the current position of the tracker associated with the controller specified by thecontrollerRefparameter. If no tracker is currently associated with that controller,Q3Controller_GetTrackerPositionreturns the position of the system cursor's tracker.Q3Controller_GetTrackerPositionhas no effect if the controller is inactive.