cocos_add_sphere_collider_3d
Add a 3D sphere collider to game objects in Cocos Creator scenes to enable physics interactions and collision detection.
Instructions
Attach cc.SphereCollider (3D sphere shape).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scene_path | Yes | ||
| node_id | Yes | ||
| radius | No | ||
| center_x | No | ||
| center_y | No | ||
| center_z | No | ||
| is_trigger | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |