mirror of
https://github.com/overte-org/overte.git
synced 2025-08-11 05:53:07 +02:00
fix bug caused by no-longer reusing a variable
This commit is contained in:
parent
e14b4c6ad4
commit
2e5049a190
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ void EntityMotionState::setWorldTransform(const btTransform& worldTrans) {
|
||||||
|
|
||||||
glm::vec3 av;
|
glm::vec3 av;
|
||||||
getAngularVelocity(av);
|
getAngularVelocity(av);
|
||||||
_entity->setAngularVelocity(v);
|
_entity->setAngularVelocity(av);
|
||||||
|
|
||||||
_entity->setLastSimulated(usecTimestampNow());
|
_entity->setLastSimulated(usecTimestampNow());
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue