Skip to content
This repository was archived by the owner on Feb 24, 2022. It is now read-only.

Commit f209625

Browse files
committed
fix joystick steering bug
1 parent 22c10d0 commit f209625

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Assets/Standard Assets/Vehicles/Car/Scripts/Steering.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public void UpdateValues()
8181

8282
// reset
8383
mouse_hold = false;
84-
H = 0;
84+
H = CrossPlatformInputManager.GetAxis ("Horizontal");
8585
}
8686

8787
}

0 commit comments

Comments
 (0)