Stop falling through the damn ramps :P

This commit is contained in:
Kelsi 2026-02-08 17:51:35 -08:00
parent f8aba30f2d
commit 3eb64dd9dd

View file

@ -527,7 +527,8 @@ void CameraController::update(float deltaTime) {
hasRealGround_ = true;
noGroundTimer_ = 0.0f;
float feetZ = targetPos.z;
float stepUp = 1.0f;
float stepUp = stepUpBudget;
stepUp += 0.05f;
float fallCatch = 3.0f;
float dz = *groundH - feetZ;