mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
fix third person cameras updating
This commit is contained in:
parent
371acf0008
commit
7e80642ec3
1 changed files with 3 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue