And also made the camera react to gravity, not fall through the floor

This commit is contained in:
2018-02-08 00:52:01 -08:00
parent c698711fdf
commit 176d9f7a54
5 changed files with 54 additions and 38 deletions

View File

@@ -47,8 +47,8 @@ public:
private:
float friction_coefficient = 0.1f;
float default_impulse = 0.3f;
float friction_coefficient = 0.001f;
float default_impulse = 0.1f;
// 3D vector
sf::Vector3f movement;