Skip to content

Commit 1c9f05d

Browse files
CalinouZeno-
authored andcommittedNov 26, 2014
Increase step smoothing to fit 1:1 stairs (works well on slabs too)
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
1 parent 26cf98c commit 1c9f05d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/camera.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ void Camera::update(LocalPlayer* player, f32 frametime, f32 busytime,
255255
{
256256
f32 oldy = old_player_position.Y;
257257
f32 newy = player_position.Y;
258-
f32 t = exp(-23*frametime);
258+
f32 t = exp(-10*frametime);
259259
player_position.Y = oldy * t + newy * (1-t);
260260
}
261261

0 commit comments

Comments
 (0)
Please sign in to comment.