}
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));