Caging defines the outer surface of a character body that layered accessories stretch and fit over. A character body only needs an outer cage, which consists of 15 cage meshes, one for each body part. A precise outer cage lets layered accessories fit any body shape and layer naturally with each other. An imprecise cage causes clipping, stretching, and visual artifacts that players notice right away.


A high-quality outer cage matters because it affects:
- Fit and layering - The cage defines how layered accessories wrap over the body and over each other. Poor cages cause clipping, unnatural stretching, or accessories that don't stack correctly.
- Body shape compatibility - Characters come in many shapes and sizes. A precise cage helps layered accessories fit as well as possible on every body, not just one.
- Inflation control - The outer cage of the body and the inner cage of a layered accessory define the space that the accessory occupies. Imprecise cages cause unnatural puffing or clipping.
- Hidden surface removal - Hidden surface removal (HSR) hides the parts of the body underneath a layered accessory. HSR depends on cage parts that line up with the body parts of the render mesh.
- Animation - The cage drives how layered accessories move with the skeleton. Sloppy cages create visual artifacts during any animation other than idle.
The following best practices and examples apply to caging character bodies. For head-specific guidance, see Dynamic head caging best practices. For caging layered accessories, see Layered accessory caging best practices.
Best practices
Always start with one of Roblox's body cage templates from the reference files, or use Avatar Setup. These templates include all 15 outer cage meshes with the correct naming and UVs.
Keep the vertex count and UVs the same
Don't change the vertex count or UVs of the 15 outer cage meshes. The outer cage is a deformer that relies on matching vertex counts and UVs to deform layered accessories correctly. If either changes, layered accessories distort or fail to deform.

Keep the middle axis at the origin
Keep the middle axis of the cage at the origin when possible. This keeps the middle of the cage consistent.

Keep geometry equidistant
Keep the geometry of the cage evenly spaced whenever possible. This reduces texture distortion and fit distortion in layered accessories. Keep in mind that this isn't always possible.

Line up vertex-colored areas
Line up the vertex-colored areas of each cage part with the matching areas of the body. This helps layered accessories line up correctly with those areas.


Line up cage parts with body parts
Line up each cage part with the matching body part of the render mesh. The alignment doesn't have to be exact, but it should be close. This lets HSR accurately hide the body underneath layered accessories. It helps to segment your character body so its parts line up with the cage parts.


Keep hand landmarks consistent
Keep the landmarks of the hand cage consistent with the template. This helps accessories around the hands, such as gloves, line up with the hand as closely as possible.




Keep foot landmarks consistent
Keep the landmarks of the foot cage consistent with the template. This helps shoes line up with the foot as closely as possible.

Flatten the bottom of the foot cage
Flatten the bottom of the foot cage. A flat base keeps shoes consistent and helps them keep their structure.


Cover the render mesh closely
Keep the cage close to the render mesh without intersecting it. Because the cage has a different topology and a lower resolution than the render mesh, this can be difficult. A close cage lets layered accessories fit closely without intersecting the body, and keeps them from looking puffy or floating away from the body.


Decide which areas to leave uncaged
Decide which parts of the render mesh to leave outside the cage, basing the decision on how you want layered accessories to fit the body. For example, leaving the ears outside the cage helps hair and hats keep their original shape.

Cage missing or different body parts
Decide how to cage body parts that are missing or that differ from a standard humanoid, basing the decision on how you want layered accessories to fit the body. For example, keeping the overall shape of the foot cage helps shoes keep their shape, even on feet that aren't human.

Caging examples
The following examples show how to cage character bodies that differ from a standard humanoid.
Classic body


Robot body


Baked-in clothing


Asymmetry and missing areas


Anthropomorphized animals


Missing or different body parts

