feat(player): add configurable fly Y speed

This commit is contained in:
2026-06-21 17:53:23 +08:00
parent 47f13ca995
commit 943013b83d
3 changed files with 7 additions and 2 deletions

View File

@@ -34,6 +34,7 @@ private:
float m_max_speed = m_max_walk_speed;
float m_y_speed = 0.0f;
float m_fly_y_speed = 7.5f;
bool can_up = true;
float space_on_time = 0.0f;
@@ -99,6 +100,7 @@ public:
float& acceleration();
float& deceleration();
float& g();
float& fly_y_speed();
unsigned place_block() const;