This command will tell you that it finds an intersect if either of argument position is under the sea eg [0,0,-10] even if there is no clear intersection with a terrain surface between them.
Description
Checks for intersection of terrain between two ASL positions. Same as terrainIntersectASL but returns the intersection ASL position.
Syntax
terrainIntersectAtASL [start, end]
Parameters:
start: PositionASL - start positionend: PositionASL - end position
Returns: PositionASL - intersect position
Examples
Example 1
_posASL = terrainIntersectAtASL [eyePos player, getPosASL chopper];
See also
terrainIntersectASL · lineIntersectsSurfaces · intersect · lineIntersects · lineIntersectsWith · terrainIntersect · lineIntersectsObjs · checkVisibility