Languages |
---|
English, 简体中文, 繁體中文, 日本語 |
Add using SheepYhangCN.DirXYCalculate;
at the head of your C# file
Target.X+=DirXYCalculate.LengthDirX(Angle,Range to target);
Target.Y+=DirXYCalculate.LengthDirY(Angle,Range to target);
Target.Angle=DirXYCalculate.PointDirection(X of this point,Y of this point,X of target point,Y of target point);