Trigger Sensor
Notices water, ladders, pads and hazards the character enters. Volumes react the same way every time.
Notices the volumes the character is in: water, ladders, kill zones, jump pads. It checks them in the character's own step, so a volume is felt the same moment every time, in play and in a recorded run.
How it works
Finds the trigger colliders the character's hull overlaps, every step, and tells them: enter, stay, exit, through ICharacterTrigger components on them, and as TriggerEntered / TriggerExited events. It also reads the volumes among them into the step's senses: water (how deep) and ladders.
The character has no Rigidbody, so Unity's OnTriggerEnter does not fire for it. This sensor works inside the character's own step instead. For scripts that need OnTriggerEnter, add a Physics Trigger Proxy as well.
A trigger with an ICharacterCondition (such as a Character Filter) counts the character as inside only while the condition holds: entering the volume, or meeting the condition inside it, is an enter.
Combine it
- Used by the presets: Arena Shooter, Competitive Shooter, Surf, Retro Platformer, Modern Platformer, Traversal Adventure, Action RPG.
Properties
| Property | Description | Range | Default |
|---|---|---|---|
| Character | The character this module belongs to. Drag its Character Motor here. | None |