Function point_FromAngle(x1:Float, y1:Float, Distance:Float, Angle0:Float, x2:Float var, y2:Float var) Local Ydist:Float = Sin(angle0) Local Xdist:Float = Cos(angle0) x2 = x1 + (Distance * xdist) y2 = y1 + (Distance * ydist) End Function
Thanks!, i allready did it myself just before i saw your response, it works fine.
Thanks again :)