Guide

Game slide movement systems explained

Harbor Quarry's Act II tunnel chase drops a conveyor belt 1.1 m above the floor — low enough that a standing player clips the mesh and takes crush damage every three seconds. The level was authored for sprint momentum through a 40-meter gauntlet, but the clearance envelope assumed a crouched silhouette. Players who discovered crouch-walk survived at half speed and failed the timed gate; players who sprinted died on the first belt. After telemetry tagged 71% of chase failures as “vertical clearance,” the team shipped a dedicated ground slide: halved capsule height, preserved sprint velocity, and a slide-jump cancel at tunnel exit. Clearance deaths fell 78%; gate completion rose from 34% to 81%.

Slide movement is a grounded traversal verb that trades upright posture for horizontal speed and reduced hitbox height. Unlike dodge rolls (burst evasion with i-frames) or static crouch (accuracy and stealth without momentum), slides carry forward velocity through low-clearance spaces and enable cancel chains into jumps and attacks. This guide covers slide taxonomy, physics and collision, input gating, slope behavior, combat integration, the Harbor Quarry refactor, a technique decision table, pitfalls, and a production checklist.

Slide taxonomy: four common models

“Slide” means different things across genres. Pick one primary model and document how it differs from crouch and dodge:

  • Ground slide (sprint slide) — triggered while sprinting at or above a minimum speed threshold. Player drops to a low capsule, maintains most horizontal velocity, and decelerates over distance or time. Common in action-adventure and hero shooters.
  • Crouch slide (hold-to-slide) — pressing crouch while moving initiates slide regardless of sprint tier. Lower entry speed; longer slide on slopes. Popular in tactical shooters where sprint is rare.
  • Slope slide (passive) — steep surfaces automatically convert gravity into slide velocity without a button press. Ice, mud, and polished metal use friction coefficients instead of input gates.
  • Combat slide (attack cancel) — short burst from melee combo or dedicated button; may grant brief i-frames or armor. Distinct from traversal slide in timing and recovery frames even if animation looks similar.

Harbor Quarry uses ground slide gated on sprint tier ≥ jog with minimum entry speed 6.5 m/s. Crouch-walk remains for stealth sections; slide is the high-speed low-profile verb for chase sequences only.

Physics: velocity, friction, and capsule shape

Slide feel is defined by what happens to horizontal velocity after the state begins:

  • Entry velocity — inherit current horizontal speed multiplied by an entry factor (typically 0.9–1.0). Cutting entry speed punishes late slide inputs and feels unresponsive.
  • Deceleration curve — constant friction (linear slow) vs exponential decay. Linear slides have predictable end distance; exponential feels snappier but harder to author gap lengths.
  • Minimum speed exit — transition back to crouch-walk or stand when speed drops below threshold (often 1.5–2.5 m/s). Prevents infinite micro-slides on flat ground.
  • Capsule resize — reduce height 40–55% and lower center slightly so feet stay grounded. Resize over 2–4 frames to avoid physics tunneling through floor meshes.
  • Steering authority — full stick control, reduced turn rate, or locked direction at entry. Full control enables cornering in tunnels; locked direction reads as commitment and pairs with QTE dodge timing.

Measure slide distance in designer tables as flat-ground travel from entry speed to exit threshold, not as a fixed timer. Slope modifiers multiply friction: ice might extend slide 2×, gravel might cut it in half. See locomotion for ground-contact and slope-normal handling shared with walk and sprint.

Input gating and stamina integration

Slides compete with sprint stamina, dodge charges, and crouch stance. Clear gates prevent accidental slides and define pacing:

  • Sprint requirement — only available above jog tier or while stamina bar > 0. Prevents walk-speed slides that trivialize low tunnels without building speed first.
  • Cooldown — 0.3–1.0 s between slides in PvP; often none in PvE traversal. Cooldown stops slide-spam through entire levels.
  • Stamina cost — flat drain on entry, per-second drain while sliding, or free slide that drains sprint reserve. Harbor Quarry uses flat 12% stamina on entry so long tunnel slides do not empty the bar mid-run.
  • Button mapping — crouch while sprinting (industry default), dedicated slide button (fighting games), or double-tap crouch. Document platform-specific defaults in tutorial prompts.
  • Air denial — block slide initiation airborne unless “landing slide” is an explicit tech skill with its own animation.

If slide shares the crouch button, buffer crouch input during sprint so players who tap slightly early still enter slide on the next valid frame. See input buffering for queue depth rules.

Slide cancels and combo chains

The best slides are not dead-end states — they feed the movement loop:

  • Slide-jump — jump during slide preserves horizontal velocity and adds vertical impulse. Enables clearing low obstacles at tunnel exit without standing up first. Tune jump impulse lower than standing jump to avoid skip routes.
  • Slide-attack — melee during slide (baseball slide tackle, sword sweep). Often has super-armor instead of i-frames; recovery is longer than dodge attack cancels.
  • Slide-to-crouch — release slide early into crouch-walk for fine positioning under cover without standing silhouette.
  • Slide-to-dodge — rare; can feel redundant unless dodge has i-frames slide lacks. If both exist, give dodge lateral burst and slide forward commitment.
  • Wall collide cancel — hitting a wall ends slide with brief stun or hands-first animation. Prevents clipping through tight corners at high speed.

Harbor Quarry's exit gate requires slide-jump over a 0.8 m lip while maintaining chase timer. Designers verified no standing jump skip by raising lip collision 15 cm above maximum standing jump apex.

Traversal vs combat policies

One slide implementation often serves exploration and combat with different tuning tables:

  • Traversal profile — long deceleration, full capsule height reduction, no i-frames, stamina cost moderate. Prioritize distance and clearance.
  • Combat profile — short distance, brief i-frames or armor on frames 3–8, higher stamina cost, cannot slide under chest-high cover (prevents abuse in firefights).
  • PvP normalization — cap max slide speed, enforce cooldown, disable slide-jump height bonus. Reduces slide-melee infinite pressure in arena modes.
  • Enemy slide — AI uses slide for gap close, not clearance. Different animation root motion; do not reuse player friction constants without testing attack range.

Split profiles in data, not in code branches scattered through the controller. A single SlideConfig struct per context (exploration, combat, PvP) keeps QA matrices readable.

Case study: Harbor Quarry tunnel refactor

Before the slide verb, the tunnel chase offered three bad options: sprint and die on conveyor clips, crouch-walk and fail the timer, or exploit a wall-gap skip found in playtest (patched). Heatmaps showed players attempting crouch mid-sprint — the game had no response, so they stood up and died.

The refactor shipped five changes:

  1. Ground slide on crouch-while-sprinting with 50% capsule height and 0.95× entry velocity multiplier.
  2. Flat friction deceleration tuned to 38 m travel from 7 m/s entry on quarry stone surface tag.
  3. Slide-jump cancel with 85% horizontal carry and 70% of standing jump height.
  4. Conveyor damage volumes raised collision to match standing capsule only — slide capsule passes cleanly.
  5. Tutorial prompt at tunnel mouth showing sprint + crouch glyph for one beat before first belt.

Chase abandonment dropped from 58% to 14%. Speedrunners retained a slide-jump-sprint chain that saves 1.2 s; designers accepted it as skill expression because the taught slide route remains viable for first-time players.

Technique decision table

Approach Best for Tradeoff
Ground slide Low tunnels, chase sequences, hero momentum fantasy Requires speed buildup; weak in cramped standing combat
Crouch-walk Stealth, accuracy, static low cover No momentum; fails timed gauntlets at half speed
Dodge roll Evasion, i-frames, omnidirectional burst Short distance; upright capsule during most of animation
Sprint only Open corridors, no clearance constraint Full-height capsule clips low geometry
Slope slide (passive) Ice puzzles, downhill set pieces Player loses steering; needs guard rails and kill planes
Slide + slide-jump Tunnel exit lips, gap clear after low section Reach envelope grows; must block skip routes

Add slide when heatmaps show players crouching during sprint or dying on clearance volumes they otherwise reach in time. Prefer dodge roll when the problem is incoming damage, not overhead geometry. Use crouch-walk when silence and accuracy matter more than speed.

Common pitfalls

  • Slide without capsule resize — animation ducks but hitbox stays tall; players clip anyway and blame the verb.
  • Zero entry velocity — slide starts from fixed speed regardless of sprint; feels disconnected from prior movement.
  • Same button as crouch with no sprint gate — accidental slides in cover firefights; players avoid crouch entirely.
  • Infinite slide on shallow downslope — friction not tuned per surface tag; players slide across entire map.
  • Slide-jump matches standing jump — trivializes platforming gates designed for standing reach.
  • No wall collide response — high-speed tunneling through corners; physics explodes on multiplayer reconcile.
  • Identical VFX for slide and dodge — players cannot read i-frame vs armor differences in combat.
  • Networking without slide state sync — remote players see upright sprint while local slides; hitboxes disagree in PvP.

Production checklist

  • Document slide taxonomy (ground, crouch, slope, combat) in design spec.
  • Publish flat-ground travel distance from entry speed to exit threshold.
  • Resize capsule over 2–4 frames; verify no floor tunneling.
  • Define entry velocity multiplier and friction curve per surface tag.
  • Gate initiation on sprint tier, minimum speed, or stamina rules.
  • Specify steering authority (full, reduced, or locked direction).
  • Implement slide-jump cancel with documented horizontal carry percent.
  • Split traversal and combat SlideConfig tables if tuning diverges.
  • Author clearance volumes to slide capsule, not standing capsule.
  • Add tutorial prompt at first mandatory low-clearance gauntlet.
  • Block accidental slide in ADS or reload states unless design requires it.
  • Log slide denial reasons in playtest builds (speed too low, on cooldown, airborne).
  • Test slide distance at 30, 60, and 120 FPS with fixed physics timestep.
  • Sync slide state and capsule height in multiplayer snapshots.

Key takeaways

  • Slide is a momentum-preserving low-profile verb — not slow crouch and not a dodge with i-frames.
  • Capsule height reduction must match animation; visual duck with tall hitbox fails clearance design.
  • Harbor Quarry cut clearance deaths 78% with sprint-gated slide and slide-jump exit — no new geometry required.
  • Slide-jump cancels extend the loop; tune horizontal carry and jump height to prevent skip routes.
  • Split traversal and combat slide configs early; PvP cooldowns and i-frame policy diverge fast.

Related reading