Hi, i’m working on a soccer game and i’m trying to achieve a certain functionality. Surely most of us have played fifa and or pro evo. What i’m trying to achieve is how to set a force value depending on how long the shoot button has been pressed. What i’ve achieved is the function of increasing the value as the button is held.
What I want is that when the button is released, the force to be applied is based on the value that has been increasing… Any ideas?