mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-16 22:47:08 +02: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