mirror of
https://github.com/overte-org/overte.git
synced 2025-04-23 09:33:29 +02:00
experimenting
This commit is contained in:
parent
7382b0b19f
commit
27ed0c4a98
1 changed files with 3 additions and 1 deletions
|
@ -405,7 +405,9 @@ void PhysicsEngine::computeCollisionEvents() {
|
|||
entityA->setShouldClaimSimulationOwnership(true);
|
||||
}
|
||||
|
||||
if (entityA && entityB) {
|
||||
if (entityA && entityB &&
|
||||
!objectA->isStaticOrKinematicObject() &&
|
||||
!objectB->isStaticOrKinematicObject()) {
|
||||
if (entityA->getShouldClaimSimulationOwnership()) {
|
||||
entityB->setShouldClaimSimulationOwnership(true);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue