mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-23 15:50:20 +00:00
Stop falling through the damn ramps :P
This commit is contained in:
parent
f8aba30f2d
commit
3eb64dd9dd
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue