fix bug caused by no-longer reusing a variable

This commit is contained in:
Seth Alves 2015-04-27 12:20:01 -07:00
parent e14b4c6ad4
commit 2e5049a190

View file

@ -111,7 +111,7 @@ void EntityMotionState::setWorldTransform(const btTransform& worldTrans) {
glm::vec3 av;
getAngularVelocity(av);
_entity->setAngularVelocity(v);
_entity->setAngularVelocity(av);
_entity->setLastSimulated(usecTimestampNow());