CMCharacter Modules 0.1.0

Jump Pad

Kind: World component · Add Component: Character Modules > World > Jump Pad

Throws the character onto a target. The landing is exact, whatever the character's gravity.

Throws the character onto a target, working out the launch from the character's own gravity.

Inspector
▼Jump Pad⋮
Launch(0, 14, 0)
Keep HorizontalOn ▾
TargetNone
Peak Above Target1.5
Turn BodyOn ▾
The Jump Pad component in the Inspector, with its defaults.
Origin. Quake III Arena (1999) jump pads.

How it works

Launches a character that enters its trigger and hands it to its air state. Either it sets the velocity to launch (in this object's space), or, with a target, it works out the launch that lands the character there using that character's own gravity, as the jump pads of arena shooters do. A target suits every preset; a fixed launch flies higher for a character with less gravity. The aim ignores air drag, so characters with drag (Heading Air) land a little short.

Properties

PropertyDescriptionRangeDefault
LaunchLaunch velocity in this object's space, m/s. Straight up by default.(0, 14, 0)
Keep HorizontalKeep the character's horizontal speed and only replace the launch direction's part.On
TargetWhere to land. Empty: use the fixed launch instead.None
Peak Above TargetWith a target: how far above the higher of the pad and the target the flight peaks, metres.0.1 or more1.5
Turn BodyTurn the character's body to face where it is thrown.On

Additional resources