Gravity increased
This commit is contained in:
parent
fd11b55be7
commit
ca2f3cc649
@ -17,7 +17,7 @@
|
||||
|
||||
const float CAM_SHAKE_OFFSET = 0.025f;
|
||||
const float CAM_SHAKE_OFFSET_Y = 0.031f;
|
||||
const float CAM_SHAKE_SPEED = 1.6f;
|
||||
const float CAM_SHAKE_SPEED = 1.75f;
|
||||
const float CAM_SHAKE_DELTA_K = 10.0f;
|
||||
const float ZOOM_SPEED = 16.0f;
|
||||
const float CROUCH_ZOOM = 0.9f;
|
||||
|
||||
@ -14,7 +14,7 @@ const float PLAYER_GROUND_DAMPING = 10.0f;
|
||||
const float PLAYER_AIR_DAMPING = 7.0f;
|
||||
const float FLIGHT_SPEED_MUL = 4.0f;
|
||||
const float CHEAT_SPEED_MUL = 5.0f;
|
||||
const float JUMP_FORCE = 7.0f;
|
||||
const float JUMP_FORCE = 8.0f;
|
||||
|
||||
Player::Player(glm::vec3 position, float speed, Camera* camera) :
|
||||
speed(speed),
|
||||
|
||||
@ -17,7 +17,7 @@ Level::Level(World* world, const Content* content, Player* player, EngineSetting
|
||||
chunksStorage(new ChunksStorage(this)),
|
||||
events(new LevelEvents()) ,
|
||||
settings(settings) {
|
||||
physics = new PhysicsSolver(vec3(0, -19.6f, 0));
|
||||
physics = new PhysicsSolver(vec3(0, -22.6f, 0));
|
||||
|
||||
uint matrixSize = (settings.chunks.loadDistance+
|
||||
settings.chunks.padding) * 2;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user