1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-13 16:45:20 +02:00

Swing the camera down when the player lands on the ground, based on the velocity the surface is hit with.

This commit is contained in:
MirceaKitsune
2013-04-07 15:41:33 -10:00
committed by kwolekr
parent 17cfb1850d
commit 7cd5eb4c77
4 changed files with 34 additions and 2 deletions

View File

@@ -166,6 +166,8 @@ private:
s32 m_view_bobbing_state;
// Speed of view bobbing animation
f32 m_view_bobbing_speed;
// Fall view bobbing
f32 m_view_bobbing_fall;
// Digging animation frame (0 <= m_digging_anim < 1)
f32 m_digging_anim;