Method | Description | |
---|---|---|
FindActorsOnLine ( this world, WPos lineStart, WPos lineEnd, WDist lineWidth, WDist targetExtraSearchRadius ) : IEnumerable |
Finds all the actors of which their health radius is intersected by a line (with a definable width) between two points.
|
|
MinimumPointLineProjection ( WPos lineStart, WPos lineEnd, WPos point ) : WPos |
Find the point (D) on a line (A-B) that is closest to the target point (C).
|
public static FindActorsOnLine ( this world, WPos lineStart, WPos lineEnd, WDist lineWidth, WDist targetExtraSearchRadius ) : IEnumerable |
||
world | this | The engine world the line intersection is to be done in. |
lineStart | WPos | The position the line should start at |
lineEnd | WPos | The position the line should end at |
lineWidth | WDist | How close an actor's health radius needs to be to the line to be considered 'intersected' by the line |
targetExtraSearchRadius | WDist | |
return | IEnumerable |
public static MinimumPointLineProjection ( WPos lineStart, WPos lineEnd, WPos point ) : WPos | ||
lineStart | WPos | The source point (tail) of the line |
lineEnd | WPos | The target point (head) of the line |
point | WPos | The target point that the minimum distance should be found to |
return | WPos |