mirror of
https://github.com/overte-org/overte.git
synced 2025-04-15 12:28:51 +02:00
stand up to right location-orientation
This commit is contained in:
parent
6e4d1bde8e
commit
8900c4f2cd
1 changed files with 1 additions and 2 deletions
|
@ -6246,8 +6246,7 @@ void MyAvatar::endSit(const glm::vec3& position, const glm::quat& rotation) {
|
|||
setCollisionsEnabled(true);
|
||||
setHMDLeanRecenterEnabled(true);
|
||||
centerBody();
|
||||
setWorldPosition(position);
|
||||
setWorldOrientation(rotation);
|
||||
goToLocation(position, true, rotation, false, false);
|
||||
// Enable movement again
|
||||
setSitDriveKeysStatus(true);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue