- Home /
Change GetAxis("Horizontal") into New Keys
I'm creating a sortof Minigame for my game, and it has cars. I found a script, but the default controls are W,A,S,D and Arrow Keys, which I can't use because my player has those controls (The car is an RC car the player can use while playing). When I downloaded it, I thought I could just remap the controls to I,J,K,L, but instead of showing the actual keys, it has GetAxis("Horizontal") and GetAxis("Vertical"). How can I remap these to J,L for Horizontal and I,K for Vertical? Thanks
Answer by robertbu · Aug 03, 2014 at 06:06 PM
These keys are assigned in the Input manager:
Edit > Project Settings > Input
Open the 'Horizontal" and 'Vertical' axes and change the Negative and Positive and Alt Negative and Alt Positive buttons.
Thank you. Is there a way I can create two Horizontal and Vertical axes, each having different controls?
Your answer
Follow this Question
Related Questions
Smooth transition for GetAxis, when pressing opposite direction 1 Answer
Difference between Input.GetAxis and GetAxisRaw? 2 Answers
player movement using ui buttons 0 Answers
GetAxis difference between mobile and mouse 0 Answers
joystick movement 2 Answers