unity_create_animator
Create a Unity AnimatorController from a JSON blueprint. Define layers, states, transitions, and conditions to build animation controllers.
Instructions
Generate an AnimatorController from a JSON blueprint.
Parameters:
project_path: Unity project path
animator_json: JSON defining layers/states/transitions. Format: {"layers": [{"name": "FaceTracking", "defaultState": "Idle", "states": [{"name": "Idle", "motion": null}, {"name": "Smile", "motion": "Assets/Anims/Smile.anim"}], "transitions": [{"from": "Idle", "to": "Smile", "conditions": [{"param": "SmileWeight", "mode": "Greater", "threshold": 0.5}]}] }]}
output_path: Where to save .controller asset
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output_path | No | Assets/VRC/FX.controller | |
| project_path | No | ||
| animator_json | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |