Jump to content

Help With Node


Recommended Posts

I have re-sized a stock part and wanted to add 2 more nodes on the side. Having problem with it attaching right. The top and bottom nodes work fine even attaching to the side nodes but I can't attach the side nodes to the side of the same part.

screenshot0-1.png


// --- node definitions ---
// definition format is Position X, Position Y, Position Z, Up X, Up Y, Up Z

node_stack_right = 0.27, 0.0, 0.0, 1.0, 0.0, 0.0, 0
node_stack_left = -0.27, 0.0, 0.0, -1.0, 0.0, 0.0, 0

node_stack_top = 0.0, 0.53, 0.0, 0.0, 1.0, 0.0, 0
node_stack_bottom = 0.0,-0.53, 0.0, 0.0, -1.0, 0.0, 0

node_attach = 0.0, 0.0, 0.0, 0.0, -1.0, 0.0

attachRules = 1,0,1,1,0

Link to comment
Share on other sites

Mabye there collision meshs are touching, so KSP says NO because they're clipping into one another. Have you tried moving the nodes outwards slightly? Does it work when you enable part clipping?

Link to comment
Share on other sites

I spotted something by googling from an example here.

Specifically:

node_stack_bottom =            0,       -1.2,      0,        0,        1,        0,       1
node_stack_top = 0, 1.2, 0, 0, -1, 0, 1
node_stack_left = -1.2, 0, 0, 1, 0, 0, 1
node_stack_right = 1.2, 0, 0, -1, 0, 0, 1
node_stack_front = 0, 0, -1.2, 0, 0, 1, 1

I think your Up X and Up Y vectors are reversed. I'm not a modder but try changing them around to:

// --- node definitions ---
// definition format is Position X, Position Y, Position Z, Up X, Up Y, Up Z

node_stack_right = 0.27, 0.0, 0.0, -1.0, 0.0, 0.0, 0
node_stack_left = -0.27, 0.0, 0.0, 1.0, 0.0, 0.0, 0

node_stack_top = 0.0, 0.53, 0.0, 0.0, -1.0, 0.0, 0
node_stack_bottom = 0.0,-0.53, 0.0, 0.0, 1.0, 0.0, 0

node_attach = 0.0, 0.0, 0.0, 0.0, -1.0, 0.0

attachRules = 1,0,1,1,0

Edit: Do the side nodes not work on all rotations?

Edited by SweetAbsinthe
Link to comment
Share on other sites

Mabye there collision meshs are touching, so KSP says NO because they're clipping into one another. Have you tried moving the nodes outwards slightly? Does it work when you enable part clipping?

Tried that. Dos not work.

I spotted something by googling from an example here.

Specifically:

node_stack_bottom =            0,       -1.2,      0,        0,        1,        0,       1
node_stack_top = 0, 1.2, 0, 0, -1, 0, 1
node_stack_left = -1.2, 0, 0, 1, 0, 0, 1
node_stack_right = 1.2, 0, 0, -1, 0, 0, 1
node_stack_front = 0, 0, -1.2, 0, 0, 1, 1

I think your Up X and Up Y vectors are reversed. I'm not a modder but try changing them around to:

// --- node definitions ---
// definition format is Position X, Position Y, Position Z, Up X, Up Y, Up Z

node_stack_right = 0.27, 0.0, 0.0, -1.0, 0.0, 0.0, 0
node_stack_left = -0.27, 0.0, 0.0, 1.0, 0.0, 0.0, 0

node_stack_top = 0.0, 0.53, 0.0, 0.0, -1.0, 0.0, 0
node_stack_bottom = 0.0,-0.53, 0.0, 0.0, 1.0, 0.0, 0

node_attach = 0.0, 0.0, 0.0, 0.0, -1.0, 0.0

attachRules = 1,0,1,1,0

Edit: Do the side nodes not work on all rotations?

Tried this and it did not work. The side nodes don't attach to the side nodes no mater what rotation I try. Only the top and bottom ones work. The top and bottom nodes will attach to the side nodes though but not side nodes to side nodes.

Link to comment
Share on other sites

I just tried to do this as well, it seems to be a bug. I can attach the Rockomax Hub to the side nodes if the hub is rotated. Basically it won't accept side->side connections only side->top. Not sure what can be done about that. One option would be to create a separate I-beam where the top and bottom nodes are the side ones and then alternate. That's really not ideal though. I think most parts with side nodes have that issue, certainly the Hub and the small Micro Hub both have the same problem.

Sorry I can't be more help.

Edit: Tried swapping one of the side nodes and top nodes to see if it would allow side->side attachment. Still no luck. It only made it harder to get a valid attachment to the swapped nodes.

Edit 2: Seems to be a known bug. Related thread. Hope they rewrite the node system soon. For now you'll have to enable Surface Attach in the attach rules and try line up the side manually.

Edited by SweetAbsinthe
Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...