Sa-Matra
Returns 0 for rope segments. To get length of individual segment, do vectorMagnitude vectorUpVisual _segment * 0.3. 0.3 is model height of RopeSegment, you can calculate it using boundingBox for other rope types.
Results appear below as you type; use the arrow keys to move through them.
Return rope length in meters (set by ropeCreate, ropeCut, ropeUnwind).
Note
Returned rope length will remain the same, even if the rope is stretched.
ropeLength rope
Parameters:
rope: ObjectReturns: Number
_length = ropeLength (ropes heli1 select 0);
ropes · canSlingLoad · enableRopeAttach · getSlingLoad · ropeAttachedObjects · ropeAttachTo · ropeDestroy · ropeUnwound · ropeAttachedTo · ropeCreate · ropeDetach · ropeAttachEnabled · ropeCut · ropeEndPosition · ropeUnwind · setSlingLoad · slingLoadAssistantShown
Returns 0 for rope segments. To get length of individual segment, do vectorMagnitude vectorUpVisual _segment * 0.3. 0.3 is model height of RopeSegment, you can calculate it using boundingBox for other rope types.