I am working on a small game and i have run into one fundamental problem, when multiple forces act on an object what is the best formula to use in order to calculate the resulting direction and power?
I know that this can be calculated by drawing paralellograms but this doe s not really help when coding an algorithm for it, i am mostly looking for a formula but if you want to know i am writing the code in GDscript.