1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00: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

@ -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;