Jump to content

[Solved] Airlock collider strangeness.


StarVision

Recommended Posts

Javascript is disabled. View full album

So I've run into some problems creating an airlock/ladder for this command pod. From what I know I set it up correctly, but then when I go into KSP, no dice...

What's worse is I've done this plenty of times before with no problems, but for some reason it's a problem now. Also an interesting bit about this, is that when I move the colliders down to the wider part of the command pod, it works fine.

I was wondering if anyone has any clues to what the problem is.

Here's the project file: Download

and the part file: Download

Edited by StarVision
Solved
Link to comment
Share on other sites

TT wrote once this:

Hatches Box colliders typically MUST overlap the collider for the model, and the models collider must overlap the ORIGIN of the model (0,0,0). You might get away with either of these but if you get "Hatch obstructed" bug, not following those is probably the cause.

It didn't help me with my hatches, because KSP is not consistant in that..

In one model it worked (shuttle), for th next, I had to make the hatch collider that big, that it'selfe overlaps the origin (belerophon)..

no clue why - but just try around with the collider size..

The code that checks if it's a valid hatch is buggy and inconsistant to say the least..

Link to comment
Share on other sites

I'd try a capsule collider; after the first pod where I used a box collider, I only used capsule colliders for Airlock and never looked back.

as last resort you can try moving everything lower so the hatch collider is closer to 0 on the Y; then use CoMOffset in config to move the COM back to where you need it.

Link to comment
Share on other sites

Thanks everyone, I think I managed to get it working. I ended up switching to the capsule collider, moving the model down (and offsetting the CoM), moving the hatch further up the surface, and making the collider extend a bit more into the mesh. I'm not quite sure why it wasn't working before, but as Porkjet said, it was probably something to do with several colliders overlapping.

It's not quite in the center of the actual hatch, but it works and it's not too noticeable. Again, thanks for the help.

screenshot87.jpg

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