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

Commit 216f683

Browse files
authored
Merge pull request #9 from rafiquemt/gamepad-horizontal-fix
fix joystick steering bug
2 parents 22c10d0 + f209625 commit 216f683

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
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)