CMCharacter Modules 0.1.0

Bump Trigger

Kind: World component · Add Component: Character Modules > World > Bump Trigger

A button pressed by running into it. Touching the world makes things happen.

A button pressed by running into it.

Inspector
▼Bump Trigger⋮
Minimum Speed2
Bumped(no listeners)
The Bump Trigger component in the Inspector, with its defaults.
Origin. Wall switches in Doom (1993) and Super Mario 64 (1996).

How it works

Fires when a character runs into this solid collider at least minimumSpeed fast: a button pushed by walking into it, a breakable wall. Heard through Contact Events.

Properties

PropertyDescriptionRangeDefault
Minimum SpeedSlowest run into the collider that counts, m/s.0 or more2
BumpedCalled when a character runs into the collider fast enough.(no listeners)

Additional resources