game_add_collision
Add a collision shape to a physics body node with configurable shape type, dimensions, layers, and mask.
Instructions
Add a collision shape to a physics body node
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| disabled | No | Start disabled | |
| shapeType | Yes | Shape: box, sphere/circle, capsule, cylinder, ray, segment | |
| parentPath | Yes | Path to CollisionBody/Area node | |
| shapeParams | No | Shape dimensions (e.g. {radius, height}) | |
| collisionMask | No | Collision mask bitmask | |
| collisionLayer | No | Collision layer bitmask |