Log inGet started
World

Glide Kit: Wingsuits, Gliders, Updrafts and Boost Rings

README.md

Glider

The player's glider. Put it on the PlayerPrototype's body (the entity with the built-in CharacterController), one per player. Press glide in the air (Space/Shift/G, pad A in the air or LB, the touch Glide button) to open, press again to close; it closes by itself on landing with a short skid. Open/close from code with glideKit.api (Glide.open(), Glide.close()) or the methods openGlider, closeGlider, toggleGlider.

Any glider can wear any trail: trail takes streaks, wingtips, petals, sparkles, feathers, jet, confetti, leaves, smoke, rainbow, pixel or none, and "" keeps the style's own default (Glide.setTrail changes it live). Holding dive tucks in and builds speed on every style and feel; letting go carries it into a floaty level-out.

Flight runs on the owning peer through airMotor at priority 2 (airMotor.api must be installed; glideKit lists it as a dependency). A higher-priority part (a grappling hook at 3) takes the body and the glider folds (closed reason lost); open it again mid-air after the hook lets go and it inherits the swing's velocity. Every peer draws every glider from the Sync fields open, style, trail, feel, poseYaw, posePitch, poseBank.

Fields: style (wingsuit, hangGlider, paraglider, umbrella, cape, birdWings, jetWing, paperCrane, leaf), trail, feel, open, steering (stick | camera), invertPitch, openInAir, minOpenHeight, autoClose, cameraFx, cameraFollow, windScale, sound, priority, inputMap, moveMap, readouts speed, verticalSpeed, altitude, stalled.

Events (component events, also on glideKit.api Glide.on): opened, closed, boosted, updraftEnter, updraftExit, landed.

Runs at executionOrder 1000, after the animation graph (so the gliding pose holds) and after the controller moved (so walls and ground are read from what happened).