Jump Cancel

Jump Cancel is a mechanic that involves using a step or ceiling to cancel a jump's vertical speed.

This can be useful to gain more momentum that normally possible.

Definitions:


 * The jump motion (0.42m) is the height of the first tick of a jump.
 * The step height (0.6m) is the highest step the player can move onto while on ground.

Both values are hard-coded into the game, but they aren't always used correctly.

This makes it possible to use Stepping mechanics in unintended ways.

Slab Variant
This variant is intended, as it is the logical extension of Stepping mechanics applied to Jumping.

This is also called "Slab Boost".

This variant only works if the step height difference Δ is between 0.42m and 0.6m.


 * If Δ < 0.42m, the player jumps above the step before the collision can be detected.
 * If Δ > 0.60m, there is a collision, but the step is too high to apply stepping mechanics.

When walking up a step, the game attempts to place the player correctly by:


 * 1) Setting their Y speed to 0.
 * 2) Setting their Y coordinate above the step.

In the process, the jump's vertical speed is lost, but horizontal speed is conserved. This makes it possible to jump again 2 ticks later.

Note: It is possible to use the corner of a slab to jump-cancel without moving up the step itself. To do this, the collision must be X-facing. Example.

Jump Cancel can be used to build momentum on stairs, amongst other blocks.

eXplVO5ZLn0

Ceiling Variant
This variant is unintended, and was patched in recent versions of the game.

This variant only works if the ceiling height Δ is between 1.8m and 2.22m.


 * If Δ < 1.80m, the ceiling is too low for the player to fit, and the collision is registered as a wall.
 * If Δ > 2.22m, there is no first-tick collision.

Ceiling jump-cancel is performed by jumping "into" a ceiling:


 * The player must previously be on ground and jump on the next tick.
 * There must be no obstacle above the player's current position (if there is, it must be taller than the ceiling).
 * The player's next intended position must collide with the ceiling.

From the game engine's perspective, everything happened as if the player walked up a step, so the player's speed and position are (mistakenly) changed to reflect that. This makes it possible to jump again 2 ticks later.

It is possible to chain multiple jump-cancels under a ceiling. In that case, it's referred to as grinding, and makes it possible to use 2-tick momentum under any kind of ceiling (as long as it satisfies the conditions above).

Unfortunately, it requires extremely precise mouse movement, so it's unlikely to be used outside of Tool-Assisted Parkour.

For example, a 1bm hh 5b is possible by using grinding:

c9VpOFuSW0U

Video breakdown:


 * The Y coordinate stays the same throughout the momentum. This indicates the use of jump-cancel.
 * To perform grinding under a 2b ceiling, the player must repeatedly move inside and outside of the 2bc.
 * The momentum gained is essentially the same as for a 1bm tdhh 5b, but done with 2bc instead.