Combat & movement 5 min read

Build Launch Pads and Low-Gravity Rooms

Use mass-scaled forces to create repeatable launches and a room where players fall more slowly.

Scale the launch by assembly mass

A fixed impulse has different results for light and heavy avatars. Multiply the desired jump velocity by the root assembly mass. Apply the result upward once and record a short per-player cooldown so repeated touch events cannot stack several launches. Set up a wide, safe landing platform before making the jump harder.

Add local gravity as a force

Use a transparent box to define the room. Convert the root position into the box's local coordinates and compare it to half the size. For an avatar inside, add a world-oriented upward force proportional to the avatar's weight. Remove the force on exit or when the character is replaced.

Inspect the boundaries

Walk through the same door from both directions, then reset inside the room. The new character should get force only while actually inside. Tune the launch and gravity effects independently.

Build two test areas with different jobs

Use one end of a baseplate to build a launch pad and a large landing platform. Leave at least one clear vertical path so overhead geometry does not disguise whether a launch worked. At the other end, create a walk-through box that the gravity mechanic can measure. Put a few low platforms inside and a flat floor immediately outside. A clear room boundary lets you see the change in falling behavior without adding a jump challenge at the door. Test the pad before turning on the room. When one mechanic changes at a time, you can tell whether a surprising jump came from the initial impulse or from the reduced fall inside the volume.

Choose a launch velocity using the course

For the pad, think about the vertical speed you want to add, then calculate the impulse as mass times that speed. A heavier assembly needs a stronger impulse to gain the same velocity. Apply it to the character root after identifying the player who touched the pad. Store a short cooldown for that player, because a single landing can cause several body parts to touch. For early tests, start with a broad landing area and watch whether the avatar reaches the required height. If it passes over the platform, lower the boost or move the landing point. Changes to ordinary character speed can affect lateral reach, so use a consistent approach during each comparison.

local upward = Vector3.yAxis * root.AssemblyMass * launchVelocity
root:ApplyImpulse(upward)

Cancel part of gravity without changing the map

Changing Workspace.Gravity would affect every loose assembly in the place. To create a room effect, give each root inside the box its own attachment and VectorForce. Apply the force in world coordinates so tilting the model does not change the direction of the lift. The linked example cancels roughly 65 percent of the weight, leaving enough gravity for the player to fall. Keep one force per root. Take it off when the player leaves or when the root is replaced. If avatars seem to hover indefinitely or accelerate upward, check whether you are applying more force than their weight or accidentally creating two forces on one character.

Make the room boundary match the artwork

An object rotated in Studio has local axes that differ from the map's axes. Transform the root position using the room part's CFrame before comparing it with half the box dimensions. Try a room angled diagonally on the baseplate. Walk along each edge and jump through its upper boundary to confirm that the effect follows the visible shape. Test walking out the door then immediately back inside. A short scanning interval is fine, but an interval that is too long can make the boundary feel delayed. If a normal player can cross the entire threshold between checks, widen the transition area or check the volume more often.

Run a multiplayer failure test

Have two players enter at different sides, then reset one character while the other stays in the room. The stationary player's force should remain, and the old root should have its force removed. Walk the new character outside the box and confirm its fall is normal. Once both mechanics work independently, try launching into the low-gravity room. That combination increases total airtime. Move the landing platform or lower the boost if a first-time visitor cannot steer to it. Keep the final test route recorded in a note so you can repeat it after changing gravity or bringing in a different avatar rig.

Related scripts