![]() |
| jit.p.bounds | Limit particles to a region of space |
| Matrix Operator: in[1] out[1] |
| Name | IOProc | Planelink | Typelink | Dimlink | Plane | Dim | Type |
| in | n/a | n/a | n/a | n/a | n/a | n/a | n/a |
| out | n/a | yes | yes | yes | 2-32 | 2-32 | float32 float64 |
| Attributes: |
| Name | Type | Description |
| bounds_hi | float list[30] |
The upper limit value, per plane, starting at plane 2 (planes 0 and 1 are reserved) (default = 1.) A symbol may be used to indicate that the bound is disabled. |
| bounds_lo | float list[30] |
The lower limit, per plane, starting at plane 2 (default = -1.) A symbol may be used to indicate that the bound is disabled. |
| mode | int |
Boundary handling mode (default = 0 (bounce)) 0 = bounce: Values are reflected back in the direction from which they came 1 = kill: Particle life is immediately set to 0 2 = wrap: Values reaching a bound value wrap to the other bound value 3 = clip: Values reaching a bound value stay at that value) |
| squish | float list[30] | The amount of "bounciness" of the bound (default = 1.) |
| squish_var | float list[30] | The amount of per-collision variance calculated for squish response (default = 0.) |
| Example: |

| See Also: |
| jit.p.shiva, jit.p.vishnu |