add_fcurve_modifier
Add a modifier to an object's active action animation curves, enabling effects such as looping, noise jitter, stepped motion, or Gaussian smoothing.
Instructions
Add a modifier to animation curves of the object's active action.
Args: object_name: Animated object. data_path: Animated property, e.g. "location", "rotation_euler". modifier: CYCLES (repeat the keys forever: settings mode_before / mode_after REPEAT, REPEAT_OFFSET for walking forward, MIRROR), NOISE (organic jitter: strength, scale, phase, offset, depth), STEPPED (stop-motion look: frame_step, frame_offset), SMOOTH (Gaussian smoothing: sigma, filter_width). index: One component (0, 1, 2) or -1 for every component. settings: Modifier settings by name, plain values.
Returns: Dict with how many curves got the modifier.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | No | ||
| modifier | Yes | ||
| settings | No | ||
| data_path | Yes | ||
| object_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||