remove debug cruft

This commit is contained in:
Andrew Meadows 2016-05-17 14:32:20 -07:00
parent e4cb6e2b87
commit 2f39968a03

View file

@ -424,7 +424,6 @@ void CharacterController::applyMotor(int index, btScalar dt, btVector3& worldVel
btVector3 axis = motor.rotation.getAxis();
btScalar angle = motor.rotation.getAngle();
btVector3 velocity = worldVelocity.rotate(axis, -angle);
btVector3 oldVelocity = velocity;
if (_state == State::Hover || motor.hTimescale == motor.vTimescale) {
// modify velocity