AlignTransformsSnapAlignNodes Method |
Aligns two vessels via the attach nodes.
Namespace:
KSPDev.ModelUtils
Assembly:
KSPDev_Utils.1.2 (in KSPDev_Utils.1.2.dll) Version: 1.2 for KSP v1.6+
Syntaxpublic static void SnapAlignNodes(
AttachNode srcAttachNode,
AttachNode tgtAttachNode
)
Request Example
View SourceParameters
- srcAttachNode
- Type: (Default Namespace)AttachNode
The node of the source vessel. - tgtAttachNode
- Type: (Default Namespace)AttachNode
The node of the target vessel.
Remarks
The source vessel is positioned and rotated so that its attach node matches the target vessel
attach node, and the nodes are "looking" at each other.
See Also