cocos_add_capsule_character_controller
Add a capsule-shaped kinematic character controller to Cocos Creator nodes for humanoid movement with smoother wall sliding and configurable physics parameters.
Instructions
Attach cc.CapsuleCharacterController — capsule-shaped kinematic character.
More common than box for humanoid characters; smoother wall sliding.
height is the distance between the two sphere centers (NOT total
capsule height, which is height + 2*radius).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scene_path | Yes | ||
| node_id | Yes | ||
| radius | No | ||
| height | No | ||
| min_move_distance | No | ||
| step_offset | No | ||
| slope_limit | No | ||
| skin_width | No | ||
| center_x | No | ||
| center_y | No | ||
| center_z | No | ||
| group | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |