Black Ops III

GetVRControllerAngles

gets the world-space angles of the tracked VR controller

Example:

pos = self GetVRControllerAngles( 0, (60, 0, 0) ) ...

Parameters

ParameterSummary
*localClientNumClient number of the controller you want the orientation of
*handIdx0 for dominant hand, 1 for secondary hand. Secondary hand is not guaranteed to exist

* = mandatory