Click or drag to resize

ILinkCableJointdeployedCableLength Property

Maximum possible distance between the source and head/target physical anchors.

Namespace:  KASAPIv2
Assembly:  KAS-API-v2 (in KAS-API-v2.dll) Version: KAS API v2
Syntax
C#
float deployedCableLength { get; }
Request Example View Source

Property Value

Type: Single
The length in meters. Always positive, if the PhysX joint is created. Zero, otherwise.
Remarks
This is a desired distance. The engine will try to keep it equal or less to this value, but depending on the forces that affect the objects, this distance may be never reached. Various implementations can adjust this value, but not greater than cfgMaxCableLength.
See Also