Sign in to follow this  
EnterElysium

Attachment surface only connecting at centre

Recommended Posts

c9x.png

ht4r.png

// definition format is Position X, Position Y, Position Z, Up X, Up Y, Up Z
node_stack_bottom = 0.0, -0.45, 0.0, 0.0, 1.0, 0.0, 1
node_attach = 0.0, 0.0, 0.0, 1.0, 0.0, 0.0

As you can see in the KSP image the part is attaching at the centre with srf attach, and I'm not sure why.

Any pointers what I've done wrong?

Share this post


Link to post
Share on other sites

node_attach needs to be set to something like -0.2, 0, 0, 1, 0, 0 for it to be offset onto the side of the object. Otherwise it's attaching on the pivot point, which is the point where all the arrows come from in the first picture.

Share this post


Link to post
Share on other sites

But I don't want it offset, I only want the surface attachment, which, if I am not mistaken, doesn't need an offset as it should work from every side. The other node attach is for the rear and I haven't bothered implementing yet.

Share this post


Link to post
Share on other sites

They are 3 different missiles for my weapons pack (including a re-jigged Sparrow missile), the one used as the example is meant to be probe-pilotable and I'll include a mechjeb integration line in there to, it's more an anti-capital ship torpedo that one. However now all three are clipping into the attaching surface rather than standing off, as the sparrow used to do until now. I assume I have missed something obvious but I can't find it for the life of me!

Edit: They will occasionally explode when impacting things on firing so there is definitely a collision mesh there.

Share this post


Link to post
Share on other sites
But I don't want it offset, I only want the surface attachment, which, if I am not mistaken, doesn't need an offset as it should work from every side. The other node attach is for the rear and I haven't bothered implementing yet.

Orbitus is right. The node attach is the point you are placing the object from. It does not need to work from every side because when you are placing the object you are just choosing where to place its single surface attach point.

Share this post


Link to post
Share on other sites

Hey enterelysium are the kerbals with special coloured stripes actually a mod or did you edit it in a programme before exporting

Oh and the intro video was amazing! :D

Share this post


Link to post
Share on other sites

A bit of thread-necromancy going on in here. I was wondering why the space-plane hanger looked so strange...

Share this post


Link to post
Share on other sites
A bit of thread-necromancy going on in here. I was wondering why the space-plane hanger looked so strange...

Thats because thats the old one. They changed it in .21

Share this post


Link to post
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.

Sign in to follow this