DualShock4ExtensionGetOrientation Method |
Gets the orientation of the controller in Unity coordinates.
This is only an estimate because accelerometer + gyroscope is not accurate enough to perfectly determine orientation at all angles.
Drift can occur on the world Y axis over time. The orientation can be reset by calling ResetOrientation().
Note: Orientation is not very reliable when connected via Bluetooth due to the possibility of dropped gyro data.
Namespace:
Rewired.ControllerExtensions
Assembly:
Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax See Also