You are clamping. " -0.19" is in between -1 and 1. The clamp would stop anything below -1 like “-1.1” and anything greater than 1.
Also, unless you changed the default value for MoveRight or set it up yourself the value is already clamped to -1 and 1
I’m not sure I understand. Do you not want it to have decimals? As in do you only want it to equal -1 or 1?
Alpaca91
(Alpaca91)
3
I need to clamp the input axis of the left analog stick for some other functions, but when I do the value doesn’t seem to clamp at all.
Alpaca91
(Alpaca91)
4
oh i miss understood clamp function then, is there a function for snapping a value between a min and max?