Jump to content

No way of attaching


Recommended Posts

I am working on a new mod. But even after I added a mesh collider, connecting nodes (also at their respective locations), allowStack and stack and surfaceAttach etc. I still can't make my part stick to another. It does not snap.

What am I doing wrong?

Something with the mesh?

[ATTACH=CONFIG]34654[/ATTACH]

Edit: Here is my node definitions.

// --- node definitions ---

// definition format is Position X, Position Y, Position Z, Up X, Up Y, Up Z

node_stack_top = 0.0, 3.2, 0.0, 0.0, 0.0, 1.0, 1.0

node_stack_bottom = 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 1.0

Edit 2: Here's what it says after I made some adjustments.

[ATTACH=CONFIG]34655[/ATTACH]

Edited by katyjsst
Link to comment
Share on other sites

hi a couple of things that i've found can cause this, the center of you attachment points are a little bit below the level of the mesh collider, those decimal places really make a difference, or if you made it the old fashioned way the mesh collider could be a little large. Or the snap direction xyz of the attachment points are facing the wrong way, y up down , x left right, z fwd bckwrd(something i had trouble with)

Link to comment
Share on other sites

hi a couple of things that i've found can cause this, the center of you attachment points are a little bit below the level of the mesh collider, those decimal places really make a difference, or if you made it the old fashioned way the mesh collider could be a little large. Or the snap direction xyz of the attachment points are facing the wrong way, y up down , x left right, z fwd bckwrd(something i had trouble with)

I did this in unity. I had the decimals placed just exactly above the part. The xyz are in the right way. But the NODES DON'T ATTACH TO OTHER NODES.

Edited by katyjsst
Link to comment
Share on other sites

I did this in unity. I had the decimals placed just exactly above the part. The xyz are in the right way. But the NODES DON'T ATTACH TO OTHER NODES.

Try changing the "allow collision" to a 1

// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision

attachRules = 1,0,1,1,1

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