We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af7efee commit 38b3533Copy full SHA for 38b3533
Runtime/Scripts/Sensors/IMU/ZOIMU.cs
@@ -108,7 +108,7 @@ protected override async void ZOFixedUpdateHzSynchronized() {
108
// calculate linear acceleration
109
Vector3 velocity = transform.InverseTransformDirection(_rigidBody.velocity);
110
Vector3 prevAcceleration = _acceleration;
111
- _acceleration = (velocity - _lastVelocity) / Time.fixedDeltaTime;
+ _acceleration = (velocity - _lastVelocity) / Time.deltaTime;
112
_lastVelocity = velocity;
113
114
0 commit comments