I made a game on Android and I'm making final adjustments.
If I use the joystick above and move it too fast, I'd like to slow down the speed a little bit, what should I do?
By the way, it is described like this.
vector.x = CrossPlatformInputManager.GetAxis("Horizontal");
vector.z = CrossPlatformInputManager.GetAxis("Vertical");
You should multiply the input by a constant less than 1
.
This post was posted as a community wiki based on @pgrho's comments.
© 2024 OneMinuteCode. All rights reserved.