redoing the formula and method to improve this more
any contributions would be appreciated
current formula for both x and y (the one that needs to be improved)
(a-b)*c-a
a= player coords
b=past coords
c= scale
main goals of improvement:
- (devices): be able to calculate projectile coords based on the last recorded past coords (meaning you would still be able to fire even when standing still where as to this guide you cant)
- be able to independently scale the projectiles distance independent of past coordinates while still maintaining accuracy and direction (whereas this guide the shorter/farther the distance between the past coords and player coords the less/more distance the projectile goes leading to inconsistency)
for more context on how the current system works
the guide I made has a similar but more buggy version to the current one
