2022-11-24 11:57:17 +08:00
|
|
|
|
---
|
|
|
|
|
sidebar_position: 2
|
|
|
|
|
sidebar_label: Configuring a complex (cloth) outfit
|
|
|
|
|
---
|
|
|
|
|
|
2022-11-28 10:04:34 +08:00
|
|
|
|
# Configuring a complex (cloth) outfit
|
|
|
|
|
|
2022-11-24 11:57:17 +08:00
|
|
|
|
In some cases the automatic setup is not quite enough to set up a complex outfit.
|
|
|
|
|
Let's look at Lachexia's [Dress Lumi](https://lachexia.booth.pm/items/3763311) as an example.
|
|
|
|
|
|
2023-09-30 15:35:42 +08:00
|
|
|
|
This tutorial assumes you've already gone through the [simple clothing](/docs/tutorials/clothing) tutorial,
|
2022-11-24 11:57:17 +08:00
|
|
|
|
and will skip over some of the details covered there.
|
|
|
|
|
|
|
|
|
|
We start out having dropped the Dress Lumi prefab onto the avatar, and having hidden the parts of the
|
|
|
|
|
original avatar's clothing that conflict with the new outfit (namely, Cloth, and setting `bra_off` on `Underwear`).
|
|
|
|
|
|
|
|
|
|
![Starting state](initial_state.png)
|
|
|
|
|
|
|
|
|
|
As you can see, there's a ton of extra objects in this outfit. The automatic setup described in
|
2023-09-30 15:35:42 +08:00
|
|
|
|
the [simple clothing tutorial](/docs/tutorials/clothing) will create the Merge Armature component for us, but
|
2022-11-24 11:57:17 +08:00
|
|
|
|
the rest of the objects require a bit more setup. That being said, that's still the right place to
|
|
|
|
|
start:
|
|
|
|
|
|
|
|
|
|
![Basic setup menu](base_setup.png)
|
|
|
|
|
|
|
|
|
|
Next up, we need to set up bone proxies to get all those collider objects to move along with their
|
|
|
|
|
base bones. To start, we'll select all the "Hips_Collider" objects and add an `MA Bone Proxy` to all of
|
|
|
|
|
them at once. Under "Target", drag-and-drop the Hips object from the original avatar.
|
|
|
|
|
|
|
|
|
|
![Setting up hips colliders](hips_collider.png)
|
|
|
|
|
|
|
|
|
|
Note that "Attachment Mode" will automatically update to "As child; keep position" when you do this.
|
|
|
|
|
|
2022-11-24 12:08:02 +08:00
|
|
|
|
Go ahead and do the same for the other bones/colliers as well. With that, the cloth colliders should work:
|
|
|
|
|
|
|
|
|
|
![Cloth colliders looking good!](colliders_work.png)
|
2022-11-24 11:57:17 +08:00
|
|
|
|
|
|
|
|
|
Finally, set up blendshape sync components for Skirt and Tops:
|
|
|
|
|
|
|
|
|
|
![Blendshape sync setup for Skirt object](blendshape_sync_skirt.png)
|
|
|
|
|
![Blendshape sync setup for Hips object](blendshape_sync_tops.png)
|
|
|
|
|
|
|
|
|
|
## Other extensions
|
|
|
|
|
|
|
|
|
|
You could fully automate the setup of this outfit, by adding a Merge Animator component which would
|
|
|
|
|
set up the base Body blendshapes (torso_thin => 100, elbow_off => 0, bra_off => 100), and disable Cloth.
|
|
|
|
|
However, this could interfere with outfit changer configurations, so it's not necessarily recommended.
|