Method TryGetAngularVelocity
TryGetAngularVelocity(out Vector3)
Retrieves the joint's angular velocity vector, if available
Declaration
public bool TryGetAngularVelocity(out Vector3 angularVelocity)
Parameters
Type | Name | Description |
---|---|---|
Vector3 | angularVelocity | Assigned the tracked angular velocity of this joint, if successful. Set to zero, if unsuccessful. |
Returns
Type | Description |
---|---|
bool | Returns true if successful and the angular velocity filled out with valid tracking data, returns false otherwise. |
Remarks
To transform to world space so that the vector has the correct direction relative to the user, rotate this by the rotation of the XROrigin.