Click or drag to resize

AlignTransforms Class

Helper methods to align transformations relative to each other.
Inheritance Hierarchy
SystemObject
  KSPDev.ModelUtilsAlignTransforms

Namespace:  KSPDev.ModelUtils
Assembly:  KSPDev_Utils.2.5 (in KSPDev_Utils.2.5.dll) Version: 2.5 for KSP v1
Syntax
C#
public static class AlignTransforms
Request Example View Source

The AlignTransforms type exposes the following members.

Methods
  NameDescription
Public methodStatic memberPlaceVessel
Places the vessel at the new position and resets the momentum on it.
Public methodStatic memberSnapAlign
Aligns the source object so that it's located at the target, and the source and target are "looking" at the each other.
Public methodStatic memberSnapAlignNodes
Aligns two vessels via the attach nodes.
Public methodStatic memberSnapAlignVessel
Aligns the vessel so that its node is located against the target's node. I.e. they are "looking" at the each other.
Top
See Also