Jump to content

Edit part in-game?


magoigor

Recommended Posts

Hey, so I'm new to coding and I wanted to know if there is a way to edit attachment nodes while playing so i can figure out the real position where I should place it, there's a small misalignment but I don't see what is wrong in the code...

https://prnt.sc/nlw3nw <- image

Top part node config:

    node_stack_top = 0.0, 1.0, 0.0, 0.0, 1.0, 0.0
    node_stack_bottom = 0.0, -1.0, 0.0, 0.0, -1.0, 0.0

Bottom part node config:

    node_stack_bottom = 0.0, -0.41, 0.0, 0.0, -1.0, 0.0, 1
    node_stack_top = 0.0, 0.41, 0.0, 0.0, -1.0, 0.0, 1

Bottom part was placed after Top part

the nodes are put perfectly on top of the part, but theres an small misalignment as you can see in the picture

I really don't know what is going on...

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