Could someone please help me figure this out?
I have a ball that moves towards the mouse on click using a physics impulse. I use sin and cos to calculate the angle towards the mouse. Then I apply Physics Impulse to move at the speed of:
Impulse X (Calc_Gforce*Sprite.xvector)
Impulse Y (Calc_Gforce*Sprite.yvector)
<font color="blue">{Calc_Gforce is a preset Global Var, and xvector/yvector is an object var that is updated every tick with trajectory}</font>
How would I get the value of force for that impulse as a singular number every tick as I move the mouse around the screen before clicking? I want to create a FORCE BAR that will display how much force you will generate when clicking.
CAPX: https://www.box.com/s/9e767ea42a8916a92987https://www.box.com/s/9e767ea42a8916a92987
EDIT: - Updated file