o.x = o.x + o.xdir
o.y = o.y + o.ydir
xdir, ydir could be any values, etc, etc. They might have thrust or gravity values applied to them as well.
So, what would be the easiest way to find out the angle it's moving at? I thought about keeping track of previous positions and getting the angle on old and current. But I'm thinking there's an easier way? Thanks for any help. ;)
o.y = o.y + o.ydir
xdir, ydir could be any values, etc, etc. They might have thrust or gravity values applied to them as well.
So, what would be the easiest way to find out the angle it's moving at? I thought about keeping track of previous positions and getting the angle on old and current. But I'm thinking there's an easier way? Thanks for any help. ;)