I want to have a function that looks like this
So it returns the x y coordinates of the second point of a line given its first point, its size (Hypotenuse ) and angle.
Maybe there is such a function floating in the internet and i didnt find it, any help is appreciated much, thanks a lot.
Function XY_FromAngle(x1:Float, y1:Float, Distance:Float, Angle0:Float, x2:Float var, y2:Float var)
So it returns the x y coordinates of the second point of a line given its first point, its size (Hypotenuse ) and angle.
Maybe there is such a function floating in the internet and i didnt find it, any help is appreciated much, thanks a lot.