CMCharacter Modules 0.1.0

Pass Through Trigger

Kind: World component · Add Component: Character Modules > World > Pass Through Trigger

Counts only when passed all the way through. Hoops and rings reward a clean jump.

Counts only when the character passes all the way through it, such as a hoop or a ring.

Inspector
▼Pass Through Trigger⋮
Both WaysOn ▾
Passed(no listeners)
The Pass Through Trigger component in the Inspector, with its defaults.
Origin. Rings to fly through in Pilotwings (1990) and Super Mario 64 (1996).

How it works

Counts a character that goes through the volume: in on one side, out on the other, sides taken along this object's forward axis. Going in and coming back out the same way, say after bumping the top of a hoop, does not count. A finish line, a hoop, a doorway checkpoint.

Properties

PropertyDescriptionRangeDefault
Both WaysCount passing in both directions. Off: only along this object's forward axis.On
PassedCalled when a character comes out on the other side.(no listeners)

Additional resources