vrc_accessory_auto_align
Automatically detect and fix misaligned VRChat accessories by aligning their bounding box to a target bone position and normalizing scale and rotation. Run before attaching the accessory.
Instructions
Auto-detect and fix misaligned accessories (shoes, hats, etc.) by comparing their bounding box to the target bone position and normalizing scale/rotation. Run this BEFORE vrc_attach_accessory.
Parameters:
accessory_name: Name of the accessory mesh to align
armature_name: Avatar armature. If empty, uses first found.
target_bone: Target bone to align near (e.g., "Left foot"). Optional — used for positioning hint.
scale_mode: "auto" (detect and fix), "match_armature" (match armature scale), "none" (skip)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scale_mode | No | auto | |
| target_bone | No | ||
| armature_name | No | ||
| accessory_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |