| title | Accessory Fitting Tool |
|---|---|
| description | The Accessory Fitting Tool lets you adjust and test custom accessory models on different body types, animations, or custom assets. |
| labels | Article,Engine,Cloud API |
The Accessory Fitting Tool (AFT) is a built-in Studio tool that allows you to test your custom models on multiple combinations of character bodies, animations, and accessories before generating the final Class.Accessory object. When testing your accessories, you can make minor fit and positional changes to ensure that you get the best result possible.
The AFT automatically handles the conversion of the custom Class.Model or Class.MeshPart based on the user menu selections, allowing you to create layerable clothing accessories or rigid accessories. After generating your accessory, the AFT creates the correct Class.Accessory object hierarchy with any updated fit edits, sets the appropriate AccessoryType property, and generates any required body attachment points.
The first stage of the Accessory Fitting Tool allows you to configure the type of accessory to correctly populate the correct fitting tools and generate the appropriate accessory object. When selecting the type of accessory, the following options are available:
- Clothing: Layerable accessories that use an inner and outer cage to stretch and wrap around a body and other clothing items.
- Accessory: Rigid accessories that attach to a specific attachment point of a character and remain static in that position and orientation.
Before using the tool, ensure that you have the Class.MeshPart or Class.Model you intend to create into an accessory selectable in your project. As a reference, you can test the AFT using a reference clothing or rigid accessory custom model.
To setup your accessories:
-
Ensure that your custom asset is selectable in your project. See 3D Importer for instructions on importing a custom model into your experience.
-
In the Avatar tab, select the Accessory Fitting Tool. The Accessory Fitting Tool panel displays.
-
Select the Part field and click on the
Class.MeshPartorClass.Modelin the viewport that you intend to preview. The text field populates with the name of the object selected.
-
Click Next. The Asset Type menu screen displays.
-
Select the correct Asset Type for your accessory. An additional dropdown displays for a specific
AssetTypeselection.
-
Use the dropdown to select the specific type of accessory to preview. This sets the correct
AssetTypeand attachment points when creating the accessory.
-
Select the expected scaling of an accessory. This only affects rigid accessories if the specific body part has a different
AvatarPartScaleTypeClass.StringValueobject. This does not affect clothing accessories.- Classic: Sets the scaling of the accessory to classic R15 proportions.
- Proportions Slender: Sets the
AvatarPartScaleTypevalue toProportionsSlender. - Proportions Normal: Sets the
AvatarPartScaleTypevalue toProportionsNormal.
-
Click Next to continue. A preview panel and workspace tools display.
After you provide the initial accessory details, the tool displays a preview panel. With the preview panel, you can test how your accessory looks on different combinations of character bodies, clothing items, animations, or even custom assets in your experience.
At any point of the testing process, you can start a [Play test](../../studio/testing-modes.md#playtest-options) to launch an instance of your experience where your avatar is replaced with the currently selected character body and accessories from the AFT.If you notice any fitting issues with your accessory, you can use the Editing tools to make minor adjustments to your accessory.
You can select different bodies to test the fit and wear of your accessories. The AFT supplies several default character models you can use to ensure your accessories fit as expected.
Bazooka Bones character preview Goblin character previewTo test your accessory with a different body:
- In the tool's catalog, navigate to Avatars > Default.
- Click one of the character model tiles. The preview loads with the selected character model.
- If two character tiles are selected, click a selected tile to deselect it.
- In the character preview, click and drag to rotate and right-click to pan to inspect your character.
You can select different clothing accessories to test the fit and layering of your caged accessories. The AFT supplies several default character models you can use to ensure your accessories fit as expected.
Goblin character preview with reference clothing Magma Fiend character preview with reference clothingTo test your accessory with a different accessory:
- In the tool's catalog, navigate to Clothing > Default.
- Click one or more of the available catalog items. The character preview loads with the selected clothing accessory.
- In the catalog, click an active tile to deselect the asset.
- In the character preview, drag and drop the accessory boxes to change the layer order.
- In the character preview, click and drag to rotate and right-click to pan to inspect your character.
You can select different animations to test the movement of your accessory asset. The AFT supplies several default animation assets you can use to ensure your accessories fit as expected when a model is performing various movements.
Walking animation reference Shy emote referenceTo test your accessory with different animations:
- In the tool's catalog, navigate to Animations > Default.
- Click one of the animation asset tiles.
- In the catalog, press the play and pause icon to control the playback.
- In the character preview, click and drag to rotate and right-click to pan to inspect your character.
You can add custom character models, clothing accessories, and animations that are part of your workspace to the AFT preview catalog. Use this functionality to verify that your accessory works with any other custom models or accessories they may interact with in your experience.
To add custom assets:
-
Click the ⊕ icon next to the catalog search. A prompt appears, allowing you to choose a supported object.
-
Select any
Class.Accessory,Class.Model,Class.MeshPart,Class.AnimationorClass.Folderwithin the Workspace or Explorer. The asset displays in the corresponding Custom category.- If no selection is made, click the tool panel again to exit the prompt.
The Accessory Fitting Tool populates different fitting tools depending on the type of accessory being created.
When editing clothing items, the following tools populate in the viewport:
When the Cage Editing interface is enabled, additional tools display in the viewport. The viewport also displays the vertices of the selected cage over the mannequin, allowing you to make positional edits to the cage and change how a clothing item can fit on a body.
You can use these Cage Editing tools for minor to moderate cage edits. If your asset requires major fit or sculpting changes, edit the cage meshes directly in a third-party modeling software, such as Blender or Maya, and import the updated model into Studio.Use the following cage editing tools to help visualize and edit any cage vertices:
To make changes to the vertices of the currently selected cage:
- In the Avatar tab's Snap To Grid section, disable Move snapping. This enables you to make detailed changes to a vertex's position.
- Select a vertex and use the Move tool to reposition. Changes to the cage apply immediately and display in the preview panel.
When fitting rigid accessories, a bounding box appears around the mannequin indicating the possible placement of that specific type of accessory. You can position, rotate, and scale objects within this bounding box to ensure your accessory fits on different character models.
Adjust your rigid accessory fit within the bounding box. If the accessory is outside the appropriate space, the bounding box turns red.At this time, if you intend to sell your rigid accessory on the Marketplace, you must select Generate Legacy Accessory instead of Generate MeshPart Accessory. PBR textures are not yet supported for legacy accessories and the tool automatically applies your colormap to your mesh's textureID.
You can create the accessory at any time. The tool applies any fit changes and generates the appropriate Accessory instance in the workspace depending on the type of accessory selected and any configurations applied.
When you are ready to generate your accessory:
- If you are creating a rigid accessory, use the dropdown and select Generate Legacy Accessory.
- If you are creating a layered accessory, select Generate MeshPart Accessory.
With an accessory successfully created, you can now try the following:
- Equip the accessory on an avatar-ready character by drag and dropping the accessory on an existing model, or using HumanoidDescription.
- Save the accessory as an avatar asset for use in an experience later.
- If you meet certain account requirements, you can upload your asset for moderation and start selling it on the Marketplace.
















