mirror of
https://github.com/lubosz/overte.git
synced 2025-04-24 11:43:16 +02:00
CharacterController: removed unnecessary code.
This commit is contained in:
parent
bfeace78f7
commit
f13e31c7fc
1 changed files with 0 additions and 1 deletions
|
@ -483,7 +483,6 @@ void CharacterController::preSimulation() {
|
|||
SET_STATE(State::Hover, "no ground");
|
||||
} else if ((now - _takeoffToInAirStartTime) > TAKE_OFF_TO_IN_AIR_PERIOD) {
|
||||
SET_STATE(State::InAir, "takeoff done");
|
||||
_takeoffToInAirStartTime = now + USECS_PER_SECOND * 86500.0f;
|
||||
velocity += _jumpSpeed * _currentUp;
|
||||
_rigidBody->setLinearVelocity(velocity);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue