mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 07:17:43 +02:00
also make sure the holder doesn't end up with a static-in-bullet held object
This commit is contained in:
parent
ea831238e6
commit
11f18c3ada
1 changed files with 2 additions and 0 deletions
|
@ -106,6 +106,7 @@ void AvatarActionHold::updateActionWorker(float deltaTimeStep) {
|
||||||
doKinematicUpdate(deltaTimeStep);
|
doKinematicUpdate(deltaTimeStep);
|
||||||
} else {
|
} else {
|
||||||
activateBody();
|
activateBody();
|
||||||
|
forceBodyNonStatic();
|
||||||
ObjectActionSpring::updateActionWorker(deltaTimeStep);
|
ObjectActionSpring::updateActionWorker(deltaTimeStep);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -156,6 +157,7 @@ void AvatarActionHold::doKinematicUpdate(float deltaTimeStep) {
|
||||||
});
|
});
|
||||||
|
|
||||||
activateBody();
|
activateBody();
|
||||||
|
forceBodyNonStatic();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool AvatarActionHold::updateArguments(QVariantMap arguments) {
|
bool AvatarActionHold::updateArguments(QVariantMap arguments) {
|
||||||
|
|
Loading…
Reference in a new issue