mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 23:44:09 +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);
|
||||
} else {
|
||||
activateBody();
|
||||
forceBodyNonStatic();
|
||||
ObjectActionSpring::updateActionWorker(deltaTimeStep);
|
||||
}
|
||||
}
|
||||
|
@ -156,6 +157,7 @@ void AvatarActionHold::doKinematicUpdate(float deltaTimeStep) {
|
|||
});
|
||||
|
||||
activateBody();
|
||||
forceBodyNonStatic();
|
||||
}
|
||||
|
||||
bool AvatarActionHold::updateArguments(QVariantMap arguments) {
|
||||
|
|
Loading…
Reference in a new issue