mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
revert last change
This commit is contained in:
parent
6d7565a568
commit
c8c704eb57
1 changed files with 1 additions and 1 deletions
|
@ -2733,7 +2733,7 @@ void MyAvatar::nextAttitude(glm::vec3 position, glm::quat orientation) {
|
|||
void MyAvatar::harvestResultsFromPhysicsSimulation(float deltaTime) {
|
||||
glm::vec3 position;
|
||||
glm::quat orientation;
|
||||
if (_characterController.isEnabledAndReady() && !_characterController.isStuck()) {
|
||||
if (_characterController.isEnabledAndReady()) {
|
||||
_characterController.getPositionAndOrientation(position, orientation);
|
||||
} else {
|
||||
position = getWorldPosition();
|
||||
|
|
Loading…
Reference in a new issue