Showing the changes to libraries/physics/src/EntityMotionState.cpp (1 of 1 file). Show all
Unified · Split
| @@ -118,7 +118,7 @@ void EntityMotionState::setWorldTransform(const btTransform& worldTrans) { · 117 unmodified lines | ||
| 118 | 118 | |
| 119 | 119 | if (_entity->getSimulatorID().isNull() && !isStill) { |
| 120 | 120 | // object is moving and has no owner. attempt to claim simulation ownership. |
| 121 | − _entity->setShouldClaimSimulationOwnership(true); | |
| 121 | + setShouldClaimSimulationOwnership(true); | |
| 122 | 122 | } |
| 123 | 123 | |
| 124 | 124 | _outgoingPacketFlags = DIRTY_PHYSICS_FLAGS; |