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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user