Black Ops III

GetVRControllerPosition

gets the world-space position of the tracked VR controller

Example:

pos = self GetVRControllerPosition( 0 ) ...

Parameters

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

* = mandatory