I having some problems with math in rgss.
It's a bit hard to explain, so i will use this example:
the red dot is sprite 1, and the blue dot is the sprite 2. I want to set the purple dot (sprite 3) alingned with them. at a set distance from sprite 2 (the dark green line).
I have sprite 1 x/y postion, sprite 2 x/y position and the distance.
Any help about how i can get sprite 3 x/y position?
It's a bit hard to explain, so i will use this example:
the red dot is sprite 1, and the blue dot is the sprite 2. I want to set the purple dot (sprite 3) alingned with them. at a set distance from sprite 2 (the dark green line).
I have sprite 1 x/y postion, sprite 2 x/y position and the distance.
Any help about how i can get sprite 3 x/y position?