fix third person cameras updating
This commit is contained in:
@@ -246,10 +246,12 @@ void PlayerController::update(float delta, bool input, bool pause) {
|
|||||||
void PlayerController::postUpdate(float delta, bool input, bool pause) {
|
void PlayerController::postUpdate(float delta, bool input, bool pause) {
|
||||||
if (!pause) {
|
if (!pause) {
|
||||||
updateFootsteps(delta);
|
updateFootsteps(delta);
|
||||||
updateCamera(delta, input);
|
|
||||||
}
|
}
|
||||||
player->postUpdate();
|
player->postUpdate();
|
||||||
camControl.refresh();
|
camControl.refresh();
|
||||||
|
if (!pause) {
|
||||||
|
updateCamera(delta, input);
|
||||||
|
}
|
||||||
if (input) {
|
if (input) {
|
||||||
updateInteraction();
|
updateInteraction();
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user