mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 11:45:36 +02:00
oops
This commit is contained in:
parent
4f24a7618a
commit
b285a582bd
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ void ObjectActionMotor::updateActionWorker(btScalar deltaTimeStep) {
|
|||
|
||||
if (_angularTimeScale < MAX_MOTOR_TIMESCALE) {
|
||||
|
||||
if (!_otherID.isEmpty()) {
|
||||
if (!_otherID.isNull()) {
|
||||
if (other) {
|
||||
glm::vec3 otherAngularVelocity = other->getAngularVelocity();
|
||||
rigidBody->setAngularVelocity(glmToBullet(_angularVelocityTarget + otherAngularVelocity));
|
||||
|
|
Loading…
Reference in a new issue