Jump to content

[SOLVED] Help on Unity Mesh Collider.


Recommended Posts

I have been learning how to make a simple part in blender from watching a video posted here: http://forum.kerbalspaceprogram.com/showthread.php/24742-Planing-on-a-new-Blender-Tutorial

I got it all made and then set up Unity using this post: http://forum.kerbalspaceprogram.com/showthread.php/25040-Unity-to-KSP-A-Detailed-Tutorial

Exported my KSP compatible model and texture to KSP_win\GameData\MyCustomParts\Parts\fuletank.

Started the game and the part loaded with no problem, but when I went to attach it to another part some of it went through the other part. Here is some pics to explain what I mean.

e3e64037-e646-4f06-a3ea-784163508a33.jpg98954964-59fa-4068-adb9-8746ebe24758.jpg188c42ce-c5a1-4939-adfb-c8a632249940.jpg

View is not great, here the part is way to close to the other part it should be sticking out more away from the other part.

Here is a pic of my settings in Unity:

c383d41f-fb33-4f09-80a8-6c3fb6b35fc2.jpg56c61eb0-06cf-47eb-bf12-7ca30132e33a.jpg

Can someone tell me where I went wrong?

Edited by Countrykris
marking post solved
Link to comment
Share on other sites

Ok i'm very new to this modeling, there was no mention in the tutorial video on node placement. I do however know how to edit a cfg file. Do I just enter it in the cfg file?

Edited by Countrykris
Link to comment
Share on other sites

@Countrykris: Yes, pretty much. You just fiddle around with the values until you get the attachment that you like (wish there was an easier way to verify the node placement).

Oh, that includes setting your attachment rules too, depending on what you want the part to do.

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

attachRules = 0,1,0,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...