remove one more line of cruft

This commit is contained in:
Andrew Meadows 2017-03-30 18:19:53 -07:00
parent d34b667e82
commit e449c48888

View file

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