IDualShock4ExtensionGetAccelerometerValue Method |
Gets the value from the accelerometer converted to Unity's coordinate system.
The value returned could be thought of as a gravity vector and user acceleration combined.
If using this value to apply a force in the direction of the vector, invert each axis first.
This value represents the last value reported by the accelerometer.
Namespace: Rewired.ControllerExtensionsAssembly: Rewired_Core (in Rewired_Core.dll) Version: 1.0.0+fd80194fe28f6b408ce098e98c53850d307c3a32
SyntaxVector3 GetAccelerometerValue()
Return Value
Vector3Accelerometer data
See Also