mirror of
https://github.com/zhenyan121/Cubed.git
synced 2026-04-10 06:14:07 +08:00
fix: ceiling collision prevents descent during jump
This commit is contained in:
@@ -24,6 +24,7 @@ private:
|
||||
float m_speed = 4.5f;
|
||||
float down_speed = 0.0f;
|
||||
bool can_up = true;
|
||||
float up_a = 0.0f;
|
||||
float speed = 0;
|
||||
glm::vec3 direction = glm::vec3(0.0f, 0.0f, 0.0f);
|
||||
glm::vec3 move_distance {0.0f, 0.0f, 0.0f};
|
||||
|
||||
Reference in New Issue
Block a user