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

Edited by Countrykris
Link to comment
Share on other sites

Game bug/limitation unfortunately, I'm not sure of the exact conditions but basically the node system won't let you make the initial attachment on anything other than one axis, I believe it's the two defined last in the config file.

It should be fixed eventually as the stock six-way hubs suffer from it but I don't know of a workaround in the mean time.

Link to comment
Share on other sites

To say that differently, despite rendering as a sphere, nodes have a direction, if when the directions don't match up things get really fricken annoying

The numbers in a node definition are x-coord, y-coord*, z-coord, x-rotation, y-rotation, z-rotation, node-size

*i may have the y in the wrong order.

Nodes are very fiddly business and you'll probably spend hours pounding your head against a wall trying to figure out why adjusting x rotation makes it point left instead of down, but that's what we have to work with.

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...