Hey guys, so im new to corona/lua but am in the process of making a mini-putt game. To get the power you want to hit the ball with, i have a button in the bottom right corner that you press, and then a bar that rises, and when you press the button again the time between the two presses should determine the power. I’m looking for a way to convert that time number, into an impulse on an object (the ball). I know theres the applyLinearImpulse thing, but is that just with taps? Or can I just have it apply a linear impulse without having to tap the ball with my finger
Thanks!