add_force_field
Adds a configurable force field to push cloth, particles, and rigid bodies, with types like wind, vortex, or drag for realistic physics simulations.
Instructions
Add a force field that pushes cloth, particles, soft and rigid bodies.
Args: type: WIND (blows along its local Z), TURBULENCE (random gusts), VORTEX (spins around Z), FORCE (pushes outward, negative pulls in), MAGNET, HARMONIC (springs to the centre), CHARGE, LENNARDJ (keeps things apart), DRAG (slows everything down). name: Name for the field object; empty uses the type. location: Position [x, y, z]. rotation: Euler rotation in radians; aims WIND and VORTEX. strength: -100000 to 100000. Negative reverses the push. flow: Air flow, 0 to 100; for WIND it carries particles along. noise: Randomness added to the force, 0 to 100. seed: Noise seed, 1 to 128. falloff_type: SPHERE, TUBE or PLANE: the shape the force fades over. falloff_power: How fast it fades with distance, 0 to 10. max_distance: Range beyond which there is no force; 0 for unlimited.
Returns: Dict with the field object's name and settings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flow | No | ||
| name | No | ||
| seed | No | ||
| type | Yes | ||
| noise | No | ||
| location | No | ||
| rotation | No | ||
| strength | No | ||
| falloff_type | No | SPHERE | |
| max_distance | No | ||
| falloff_power | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||