Skip to content

Commit

Permalink
Merge pull request #74 from kevinsadi/game-gui-and-gameplay-loop
Browse files Browse the repository at this point in the history
Quick Polish
  • Loading branch information
kevinsadi authored Nov 22, 2023
2 parents b508415 + 6fb0afc commit 70683bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/engine/components/CharacterController.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ namespace lei3d
m_Collider = new btCapsuleShape(btScalar{ width }, btScalar{ height });
m_Collider->setMargin(0.0);

btScalar mass{ 10.f };
btScalar mass{ 7.f };
btVector3 localInertia{ 0.0f, 0.0f, 0.0f };
m_Collider->calculateLocalInertia(mass, localInertia);

Expand Down
2 changes: 1 addition & 1 deletion src/engine/components/CharacterController.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ namespace lei3d
{
public:
// CHARACTER CONTROLLER PARAMETERS
float m_accel = 250.0f;
float m_accel = 300.0f;
float m_airAccel = 700.0f;
float m_maxSpeed = 30.0f;
float m_maxAirSpeed = 20.575f;
Expand Down

0 comments on commit 70683bd

Please sign in to comment.