Метод | Описание | |
---|---|---|
createAttachNode ( Part part, String id, Vector3 pos, Vector3 orient, int size ) : AttachNode |
Creates a new attach node with the given paramaters and adds it to the input part.
|
|
destroyAttachNode ( Part part, AttachNode node ) : void |
Destroys the input attach node and removes it from the part.
|
|
updateAttachNodePosition ( Part part, AttachNode node, Vector3 newPos, Vector3 orientation, bool updatePartPosition ) : void |
Updates an attach node position and handles offseting of any attached parts (or base part if attached part is the parent).
|
|
updateSurfaceAttachedChildren ( Part part, float oldDiameter, float newDiameter ) : void |
Updates surface attached children of the input part.
|
public static createAttachNode ( Part part, String id, Vector3 pos, Vector3 orient, int size ) : AttachNode | ||
part | Part | |
id | String | |
pos | Vector3 | |
orient | Vector3 | |
size | int | |
Результат | AttachNode |
public static destroyAttachNode ( Part part, AttachNode node ) : void | ||
part | Part | |
node | AttachNode | |
Результат | void |
public static updateAttachNodePosition ( Part part, AttachNode node, Vector3 newPos, Vector3 orientation, bool updatePartPosition ) : void | ||
part | Part | |
node | AttachNode | |
newPos | Vector3 | |
orientation | Vector3 | |
updatePartPosition | bool | |
Результат | void |
public static updateSurfaceAttachedChildren ( Part part, float oldDiameter, float newDiameter ) : void | ||
part | Part | |
oldDiameter | float | |
newDiameter | float | |
Результат | void |