From 7cd5eb4c77de9fda4946de7e1c2384d0c2a0253e Mon Sep 17 00:00:00 2001 From: MirceaKitsune Date: Sun, 7 Apr 2013 15:41:33 -1000 Subject: Swing the camera down when the player lands on the ground, based on the velocity the surface is hit with. --- src/localplayer.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/localplayer.h') diff --git a/src/localplayer.h b/src/localplayer.h index 9ac2bc682..8c3041c04 100644 --- a/src/localplayer.h +++ b/src/localplayer.h @@ -59,6 +59,8 @@ public: float last_yaw; unsigned int last_keyPressed; + float camera_impact; + private: // This is used for determining the sneaking range v3s16 m_sneak_node; -- cgit v1.2.3