mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 11:45:36 +02:00
remove one more line of cruft
This commit is contained in:
parent
d34b667e82
commit
e449c48888
1 changed files with 0 additions and 1 deletions
|
@ -409,7 +409,6 @@ void CharacterController::handleChangedCollisionGroup() {
|
|||
|
||||
void CharacterController::updateUpAxis(const glm::quat& rotation) {
|
||||
_currentUp = quatRotate(glmToBullet(rotation), LOCAL_UP_AXIS);
|
||||
_ghost.setUpDirection(_currentUp);
|
||||
if (_state != State::Hover && _rigidBody) {
|
||||
_rigidBody->setGravity(_gravity * _currentUp);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue