How to Add a Slide Mechanic to Your Game

Intermediate 7 min Movement

Crouch-slide with momentum, camera lowering and hitbox shrink — the movement tech modern obbies expect.

Skip the typing

Generate the whole system, every file wired up. Free during beta.

Build it for me

How it works, step by step

  1. 1

    Trigger slide from sprint + crouch key; require minimum speed so stationary crouches stay normal.

  2. 2

    Tilt the character via Motor6D transform and lower the camera boom on the client.

  3. 3

    Apply friction-free velocity decay so slides carry distance based on entry speed.

  4. 4

    Shrink the Humanoid collider height so slides pass under obstacles; restore on exit.

  5. 5

    Sync a sliding attribute so animations and server checks agree.

Concepts you'll use

  • Motor6D transforms
  • Friction curves
  • Collider resizing

Mistakes that cost you players

  • Resizing colliders server-side only desyncs collision for the local player.
  • Slides that never end because decay runs on a stopped Heartbeat connection.

Every script above — written, placed & wired in ~30 seconds

Build it free 🔥

no card · full access in beta

Keep building

All topics