Character Filter
Kind: World component · Add Component: Character Modules > World > Character Filter
Lets a trigger react only to some characters, or only in the air or on the ground. Triggers fire only when they should.
Lets a trigger react only to some characters, or only in the air or on the ground.
Inspector
▼Character Filter
FootingAny ▾
States(empty)
Minimum Speed0
Presets(empty)
Origin. A level-scripting convention.
How it works
Decides which characters a trigger, pressure pad or bump target notices: only on the ground or only in the air, only in certain states (a slide-only gate, a swim-only current), only above a speed, only certain presets. Put it next to the trigger's collider (or on a parent of a solid one). Every condition must hold.
Properties
| Property | Description | Range | Default |
|---|---|---|---|
| Footing | Notice characters on the ground, in the air, or either. | Any | |
| States | Notice only characters in one of these states, e.g. Walk, Swim, Ladder. Empty: any state. | (empty) | |
| Minimum Speed | Notice only characters moving at least this fast, m/s. | 0 or more | 0 |
| Presets | Notice only these presets, e.g. Arena Shooter. Empty: any preset. | (empty) |