cocos_add_box_collider_3d
Add a 3D box-shaped collision boundary to game objects in Cocos Creator scenes for physics interactions and trigger detection.
Instructions
Attach cc.BoxCollider (3D AABB shape).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scene_path | Yes | ||
| node_id | Yes | ||
| size_x | No | ||
| size_y | No | ||
| size_z | No | ||
| center_x | No | ||
| center_y | No | ||
| center_z | No | ||
| is_trigger | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |