X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fui%2Fui.cpp;h=5b0eec8b1dac47bb7b1798e51dbfb4d814892893;hb=f430ad789fe620ad2e8b2b2b99af868372791295;hp=96386195e57803c4aa8fcd498072caa229df768f;hpb=d38be21d103052761505d58a6d13e30a896dde01;p=blank.git diff --git a/src/ui/ui.cpp b/src/ui/ui.cpp index 9638619..5b0eec8 100644 --- a/src/ui/ui.cpp +++ b/src/ui/ui.cpp @@ -83,7 +83,7 @@ void PlayerController::Invalidate() noexcept { } void PlayerController::UpdatePlayer() noexcept { - constexpr float max_vel = 0.005f; + constexpr float max_vel = 5.0f; // in m/s if (dirty) { player.GetEntity().Orientation(glm::quat(glm::vec3(pitch, yaw, 0.0f))); player.GetEntity().TargetVelocity(glm::rotateY(move_dir * max_vel, yaw));