Nonrecursive Movement Formulas

Since arithmetico-geometric sequences have explicit formulas, we can build non-recursive formulas to calculate simple but useful results, such as the height of the player on any given tick, or the distance of a jump in terms of the initial speed and duration.

Numeric approximations are given with 6 digits of precision.

Definitions:


 * $v_0$ is the player's initial speed (speed on $$t_0$$, before jumping)
 * $t$ is the number of ticks considered (ex: t=12 on flat ground, see Jump Duration)
 * $J$ is the "jump bonus" (0.3274 for sprintjump, 0.291924 for strafed sprintjump, 0.1 for 45° no-sprint jump...)
 * $M$ is the movement multiplier after jumping (1.3 for 45° sprint, 1.274 for normal sprint, 1.0 for no-sprint 45°...)

Vertical Movement (jump) [1.8]
Vertical speed after jumping ($$t \geq 6$$) Relative height after jumping ($$t \geq 6$$)

For $t<6$, see below.

Vertical Movement (jump) [1.9+]
Vertical speed after jumping ($$t \geq 1$$)

Relative height after jumping ($$t \geq 0$$)

Horizontal Movement (instant jump)
Assuming the player was airborne before jumping.

Horizontal speed after sprintjumping ($$t \geq 2$$) Sprintjump distance ($$t \geq 2$$)

Note: These formulas are accurate for most values of $$v_0$$, but some negative values can wind up activating the speed threshold and reset the player's speed at some point, thus rendering these formulas inaccurate.

Horizontal Movement (delayed jump)
Assuming the player is on ground before jumping (at least 1 tick since landing).

Horizontal speed after sprintjumping ($$t \geq 2$$) Sprintjump distance ($$t \geq 2$$)

Advanced Formulas
Horizontal speed after $$n$$ consecutive sprintjumps on a momentum of period $T$  ($$n \geq 0$$, $$T \geq 2$$).

If the first sprintjump is delayed, multiply $v_0$ by 0.6

Examples

 * $$Y_{rel}(60) $$ gives the relative height of the player 3 seconds (60 ticks) after jumping.
 * $$\textrm{Dist}(0,12)$$ gives the jump distance on flat ground with no initial speed.
 * $$\textrm{Dist}( V_H(0,12) ,9)$$ gives the distance of a +1 jump with one sprintjump of flat momentum as initial speed.
 * $$\textrm{Dist}(V^{10}_H(0,2), 12) $$ gives the jump distance with 10 sprintjumps of momentum under a trapdoor-headhitter.