We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dd48bdf commit 1a509c4Copy full SHA for 1a509c4
src/game/gamecore.cpp
@@ -533,10 +533,10 @@ void CCharacterCore::TickDeferred()
533
534
void CCharacterCore::Move()
535
{
536
- float RampValue = VelocityRamp(length(m_Vel) * 50,
+ float RampValue = VelocityRamp(length(m_Vel) * m_TickSpeed,
537
CWorldCore::PhysicsScalingLinear(m_Tuning.m_VelrampStart, m_TickSpeed),
538
CWorldCore::PhysicsScalingLinear(m_Tuning.m_VelrampRange, m_TickSpeed),
539
- m_Tuning.m_VelrampCurvature);
+ CWorldCore::PhysicsScalingFriction(m_Tuning.m_VelrampCurvature, m_TickSpeed));
540
541
m_Vel.x = m_Vel.x * RampValue;
542
0 commit comments