AlignTransformsSnapAlignNodes Method |
Aligns two vessels via the attach nodes.
Namespace:
KSPDev.ModelUtils
Assembly:
KSPDev_Utils.2.5 (in KSPDev_Utils.2.5.dll) Version: 2.5 for KSP v1
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