Proving Grounds: 3D Platformer Mechanics Support: GitHub issues

Glide

1. What it does

Hold Jump while falling and the fall is held at 220 cm/s with gravity x0.35 for up to 6 s per use. Glide is one of the five powers: it works only with the Glide power worn and switched on (power button Q / Y).

2. Turn on / off

3. Level actor to place

Corridor Power Shrine with Power = Glide (or call Equip with Glide from Blueprint). See Powers.

4. Details fields

On the hero (Corridor | Power | Glide) and the power component:

Field Default What it does
Glide Max Fall Speed (GlideMaxFallSpeed) 220 While the glide power is on and Jump is held on the way down, the fall never gets faster than this (cm/s). Air control is unchanged. (Details: Corridor | Power | Glide)
Glide Gravity Scale (GlideGravityScale) 0.35 Gravity multiplier while gliding (lower = floatier); the jump's own fall gravity is back as soon as Jump is let go. (Details: Corridor | Power | Glide)
Glide Brake (GlideBrake) 3000 A glide started while falling faster brakes down to GlideMaxFallSpeed at this rate (cm/s^2). 0 = at once. (Details: Corridor | Power | Glide)
Field Default What it does
Glide Duration (GlideDuration) 6 Seconds the glide power stays on per use (0 = until switched off); it refills in full after GlideCooldown. The fall itself (speed cap, gravity) is set on the hero: Corridor|Power|Glide. (Details: Corridor | Power | Glide)
Glide Cooldown (GlideCooldown) 0.5 Wait after switching glide off before it can be switched on again (s). (Details: Corridor | Power)

5. Blueprint functions and events

Node Kind What it does
Set Ability Enabled / Is Ability Enabled Function / Getter The switch above (Ability = Glide).
Get Corridor Action Getter Glide while gliding.
On Action Started / Ended Event dispatchers One pair per glide.
Is Gliding Getter True while gliding.
Get Glide Left (power component) Getter Seconds of glide left.
Is Power Active (power component) Getter Pass Glide to ask if it is on.

6. Use your own animation

Leave Anim Set empty; Get Corridor Action = Glide.

7. See it in the demo

Course3_Powers: take the Glide shrine, jump off a ledge and hold Jump. System_Gallery shows all five powers.

8. Pitfalls