Description
Returns start and end positions for the given rope. If command fails, empty array [] is returned.
Syntax
ropeEndPosition rope
Parameters:
rope: Object - rope object
Returns: Array with [startPos, endPos]
- startPos: PositionAGL
- endPos: PositionAGL
Examples
Example 1
_ends = ropeEndPosition (ropes heli1 select 0);
_start = _ends select 0;
_end = _ends select 1;
See also
ropes · canSlingLoad · enableRopeAttach · getSlingLoad · ropeAttachedObjects · ropeAttachTo · ropeDestroy · ropeLength · ropeUnwound · ropeAttachedTo · ropeCreate · ropeDetach · ropeAttachEnabled · ropeCut · ropeUnwind · setSlingLoad · slingLoadAssistantShown