- Home /
Question by
LeadRDRK · Jun 04, 2019 at 09:59 AM ·
directionaxiskeyboard input
Weird GetAxis behavior
I'm trying to use GetAxis on Horizontal to find out which directions are held down. In the Unity Editor, the value seems to be always stuck at -1. However, if I build the project and run it, it seems to return the correct values. Is there any way to make this work correctly in the editor ?
I'm currently using Unity 2018.4.1f1
Comment
Your answer
Follow this Question
Related Questions
How to get the direction of object along axis 1 Answer
How to prevent movement in a specific direction only? -1 Answers
transform.TransformDirection not working -- WHAT IM MISSISNG? 1 Answer
How can I raycast the direction my 2D character is facing? 1 Answer
Get Direction based on Velocity 0 Answers