Jump to content

Radial decoupler attachment.


Recommended Posts

I am having an issue getting my tanks to attach to a radial decoupler. They will attach but they attach inside of my collision mesh instead of t the surface like it should. Everything attaches fine to the tanks surface so long as I'm not trying to place the tanks on radial decouplers. My landing legs attach fine. My aero fins attach fine. But as soon as I try to build a Falcon heavy with decouplers this happens. Now I can pull the tanks out and everything woks fine but I would like to fix it. Maybe node_attach?

Spoiler

PART
{
 name = Falcon9FTbooster2Black
 module = Part
 author = jnh
 mesh = model.mu
 rescaleFactor = .97
 CoMOffset = 0, -6.0, 0
 node_stack_top = 0.0, 15.0, 0.0, 0.0, 1.0, 0.0, 2
 node_stack_connect01 = 0.0, 14.0, 0.0, 0.0, 1.0, 0.0, 2
 node_stack_bottom = 0.0, -13.0, 0.0, 0.0, -1.0, 0.0, 2
 node_stack_dock = 0.0, -15.0, 0.0, 0.0, -1.0, 0.0, 1
 node_attach = 1.25, 0.0, 0.0, 1.0, 0.0, 0.0, 1
 TechRequired = advFuelSystems
 entryCost = 24200
 cost = 5750

38774784644_be15020861_b.jpg

Here is my collision mesh in Unity.

24617170707_dacf9171a2_b.jpg

Tanks pulled out using move tool.- As you can see it is indeed attached to the decoupler. The decoupler attaches perfectly to the first tank.

25613543818_357b508cd8_b.jpg

 

@CobaltWolf, @steedcrugeon I pinged you guys because you have helped me before and you know much more about KSP than I. Plus no one has answered a single question I have asked in a pretty good while leaving me to solve them by myself or not at all;.;. I figured I would go a different route this time and see if I got different results:/.

Edited by harrisjosh2711
Link to comment
Share on other sites

What diameter is the part? The first value of node_attach should be the part's radius - in this instance, it's currently set up for a 2.5m part with a 1.25m offset. Of course, if the model has some visual variation (for example if there's a reinforced extruded section you want the player to attach it with) you'd want the node_attach to match that radius.

Link to comment
Share on other sites

Also do both parts of the radial decoupler have physics colliders? I found that if the 'artefact part' (the bit that remains after decoupling) had a physics collider it screwed things up so I only had a physics collider on the mesh I wanted my radially attaching things to go 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...