game_physics_body
Adjust physics body properties like mass, velocity, damping, and gravity scale. Set bounce, friction, freeze, or sleep state to control simulation behavior.
Instructions
Configure physics body properties (mass, velocity, etc.)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mass | No | Body mass | |
| bounce | No | Physics material bounce | |
| freeze | No | Freeze the body | |
| friction | No | Physics material friction | |
| nodePath | Yes | Path to physics body node | |
| sleeping | No | Put body to sleep | |
| linearDamp | No | Linear damping | |
| angularDamp | No | Angular damping | |
| gravityScale | No | Gravity scale | |
| linearVelocity | No | Linear velocity {x,y} or {x,y,z} | |
| angularVelocity | No | Angular velocity (float for 2D, {x,y,z} for 3D) |