Translations:Movement/15/en

From DDraceNetwork
Revision as of 19:14, 11 February 2023 by FuzzyBot (talk | contribs) (Importing a new version from external source)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

src/game/gamecore.cpp (before calculating new position from velocity):

if(length(m_Vel) > 6000)
    m_Vel = normalize(m_Vel) * 6000;

This is the bottleneck in vertical movement. In horizontal movement a “ramp”-Value is multiplied to the horizontal speed. Causing the tee to slow down and stop when getting too fast. This is most commonly observed in speed ups.