unity_setup_contacts
Add VRC ContactSender/ContactReceiver components to a Unity avatar using a JSON blueprint. Define bone path, type, collision tags, radius, and receiver type.
Instructions
Add VRC ContactSender/ContactReceiver components from JSON blueprint.
Parameters:
project_path: Unity project path
avatar_object: Root avatar GameObject name
contacts_json: JSON array. Format: [{"bonePath": "Armature/Hips/Spine/Head", "type": "Receiver", "collisionTags": ["Head"], "radius": 0.3, "position": "0,0,0", "receiverType": "Proximity", "parameter": "HeadPat"}] type: "Sender" or "Receiver" receiverType (for Receivers): "Proximity", "Constant", "OnEnter"
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_path | No | ||
| avatar_object | No | ||
| contacts_json | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |