blowfishpro / B9PartSwitch

A Kerbal Space Program plugin designed to implement switching of part meshes, resources, and nodes
GNU Lesser General Public License v3.0
50 stars 33 forks source link

Adding "size" to SUBTYPE/NODE #167

Closed yalov closed 4 years ago

yalov commented 4 years ago

Typical way of modifying nodes in the SUBTYPES is create them globally, and then enable only some of them:

%node_stack_top06 = 
%node_stack_top12 = 
SUBTYPE {    node = top06 }
SUBTYPE {    node = top12 }

but if a part is placed in the middle of a vessel using top and bottom nodes, and then the SUBTYPE is switched, the ship will not be "moved" with the nodes (clipping or empty space appears).

Otherwise, there is possibility to move nodes using NODE{} node, and a vessel will be moving with the nodes, but only new position of the attach node is specified, so no way to change size of a node, that is very desired, if the SUBTYPE is used to resize the part. Adding the size to the NODE could fix that.

Similarly, someone at some point may want to change a direction of the node with vessel sticked to it, so beside of the size, worth consider adding to the NODE only missing direction values.