Skip to content

Commit f89c8af

Browse files
committed
changed IMU update to fixed update synchronized
1 parent de683ab commit f89c8af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Runtime/Scripts/Sensors/IMU/ZOIMU.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ protected override void ZOStart() {
9393
_rigidBody = GetComponent<Rigidbody>();
9494
}
9595

96-
protected override async void ZOFixedUpdate() {
96+
protected override async void ZOFixedUpdateHzSynchronized() {
9797

9898
// calculate linear acceleration
9999
Vector3 velocity = transform.InverseTransformDirection(_rigidBody.velocity);

0 commit comments

Comments
 (0)