Body Culling
Body Culling in RPG Builder is used to hide parts of a modular character model when they are covered by armor. For example you equip a chest plate and your character's upper (chest) body part is hidden/deactivated.
Generic Fields
Field Name | Function |
---|---|
Name | Name of the asset data in the project and editor. |
Body Culling
Simply click "Add Race" to add a race, then click "Add Gender" to setup different Body Parts to cull per gender. You can create More Body Parts under Types > Body Parts.
You want to hide the chest (upper body) when equipping a chest armor.
You go to Types > Body Parts > click new and create a new entry, name it Chest > hit save.
Then you go to your Character Prefab and click on its chest (assuming it is modular) > add component > Body Part script > set "Part" to Chest > drag your mesh from hierarchy into the "Renderer" field.
Go to top of hierarchy and click on the parent > check the Player Appearance script to make sure the Chest Body Part is added > if its not added click "Find Body Parts" and it will automatically add it.
Now go to Templates > Body Culling > create new entry, lets name it "HideChest" > click "Add Race" > click "Add Gender" > set your gender, we are going with "Male" > click the green "+" icon next to the gender > select the Chest from the dropdown menu > hit save.
Now go to Economy > Items and look for your chest armor, ours is called "Plate Chest" > go to the Visual Tab > apply your Body Culling Template in the "Body Culling" field > hit save.
Now your Male character's chest (upper body) will be hidden/disabled whenever you equip that plate chest armor.