Fabian F.
clamping how fast a input (as a float) can change.
Oh chucks, I accidentally skipped that message and jumped immedietly to jiMMACLE's message.
Though I am quite unsure of how I would do said calculation, that is more so my issue than anything else to be honest.
34 replies
clamping how fast a input (as a float) can change.
What I am trying to do is that if my Input which can change between -1 and 1 for X and Y on a gamepad, exceeds a set speed, it should still change at that set speed independent of how fast I change the input.
I need this to make the player move in a circular motion, if the input variables X and Y are able to change too quickly, the player is able to spin like a helicopter, this is more so a polish feature than a gameplay feature, it would look nice with the animation system.
I hope I am not being too abstract again!
34 replies