fix third person cameras updating

This commit is contained in:
MihailRis 2024-07-09 04:57:03 +03:00
parent 371acf0008
commit 7e80642ec3

View File

@ -246,10 +246,12 @@ void PlayerController::update(float delta, bool input, bool pause) {
void PlayerController::postUpdate(float delta, bool input, bool pause) {
if (!pause) {
updateFootsteps(delta);
updateCamera(delta, input);
}
player->postUpdate();
camControl.refresh();
if (!pause) {
updateCamera(delta, input);
}
if (input) {
updateInteraction();
} else {