-
Notifications
You must be signed in to change notification settings - Fork 13
Configuring a part for FreeIva
JonnyOThan edited this page Jul 4, 2023
·
7 revisions
- Cut out holes in the internal mesh where hatches will go.
- Figure out how to remove any geometry covering where hatches will go:
- If the geometry is a separate gameobject, use
DeleteInternalObject - If the geometry is part of the IVA shell, you need to use a cutout. You can create a custom set of meshes for this shell to cut out its geometry, or use hatches that have cutout meshes already configured (along with
cutoutTargetTransformNamein thePROPplacements orautoCutoutTargetName).
- If the geometry is a separate gameobject, use
- Create a low-res shell of the internal mesh and give it a
MeshCollider. The normals should be facing inwards. Make sure to leave holes for hatches. This shell (and any other colliders that should block kerbals) should be on layer 16. - Place hatch props as usual.
- Add a
ModuleFreeIvato thePARTandInternalModuleFreeIvato theINTERNAL - Set the
shellColliderNamein theInternalModuleFreeIvato the name of yourMeshCollidershell. - Add
HatchConfigmodules to each hatchPROPin theINTERNALand configure the airlock name and attach node name (skip this step to use auto-configuration which will try to match hatches with nearby airlocks and attachnodes) - Learn about Depth Masks