![]() | ILinkJointSetCoupleOnLinkMode Method |
Namespace: KASAPIv2
bool SetCoupleOnLinkMode( bool isCoupleOnLink )
When both the source and the target peers support coupling, this mode can be arbitrary set or reset via the joint module. If the new mode is "coupling", and the source and the target vessels are different, then a coupling action will trigger. If the new mode is "don't couple", and the source and the target parts are coupled, then a decoupling event is triggered. In all the other cases it's just a boolean property change.
The modules must support the cycles and be ready to pick up the coupling role when the former part has gave up.