I was watching the video called ‘"Using Cross Platform Input’" but honestly I could not understand anything about this line :-
float horizontalthrow = CrossPlatform.InputManager.GetAxis(“Horizontal”);
I would be highly grateful if someone explains this to me.

I could see that Sir Ben were very excited to teach us about this and he explained this too quickly for me to understand.
When the cross platform input receives the “neutral” position from say a controller joystick… it receives an input of 0… as in zero input is being given to maintain where the player is in the world.
When the cross platform receives input of that joystick moving left… it may be a little, like -0.32 or it may be all the way left, -1. This input is being given to MOVE the player from where they are in world.
The game needs to know by how much. How much am I moving my player left… am I moving my player left a little? (-0.32) Or am I moving my player left a lot ( -1).
Either left input says go left… but the amount says hard left to “throw” the player…
Thank you for explaining that to me.
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.