mirror of
https://github.com/overte-org/overte.git
synced 2025-08-07 18:10:37 +02:00
remove debug cruft
This commit is contained in:
parent
e4cb6e2b87
commit
2f39968a03
1 changed files with 0 additions and 1 deletions
|
@ -424,7 +424,6 @@ void CharacterController::applyMotor(int index, btScalar dt, btVector3& worldVel
|
||||||
btVector3 axis = motor.rotation.getAxis();
|
btVector3 axis = motor.rotation.getAxis();
|
||||||
btScalar angle = motor.rotation.getAngle();
|
btScalar angle = motor.rotation.getAngle();
|
||||||
btVector3 velocity = worldVelocity.rotate(axis, -angle);
|
btVector3 velocity = worldVelocity.rotate(axis, -angle);
|
||||||
btVector3 oldVelocity = velocity;
|
|
||||||
|
|
||||||
if (_state == State::Hover || motor.hTimescale == motor.vTimescale) {
|
if (_state == State::Hover || motor.hTimescale == motor.vTimescale) {
|
||||||
// modify velocity
|
// modify velocity
|
||||||
|
|
Loading…
Reference in a new issue