 | ILinkCableJointrealCableLength Property |
Returns the actual distance between the source and target/head physical anchors.
Namespace:
KASAPIv2
Assembly:
KAS-API-v2 (in KAS-API-v2.dll) Version: KAS API v2
Syntaxfloat realCableLength { get; }
Request Example
View SourceProperty Value
Type:
Single
The distance in meters. Always positive, if the PhysX joint is created. Zero, otherwise.
Remarks
It's always 0 if the link is not established and there is no head started. Keep in mind
that the real length is almost never equal to the deployed cable lenght. This is due to how
the PhysX engine works: the force can only be applied when the joint is stretched.
See Also