Quote Originally Posted by Disyne
Hi.

Say if I have a set of X and Y coordinates and I want to move an object offset by 200 towards 50 degrees.

Is there an existing function to simulate this that will return the x and y coordinates for the destination?

Thanks
Afaik there isn't such a function and you have to calculate the destination coordinates,

xDst = xSrc + offset * cos(angle)
yDst = ySrc + offset * sin(angle)

and angle must be in radians,

angle_in_radians = (Pi / 180) * angle_in_degrees