stand up to right location-orientation

This commit is contained in:
luiscuenca 2019-07-24 13:29:01 -07:00
parent 6e4d1bde8e
commit 8900c4f2cd
No known key found for this signature in database
GPG key ID: 2387ECD129A6961D

View file

@ -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);
}