History

ObjectMotionState puts self on outgoing queue

Andrew Meadows committed 11 years ago

Commit 4977bfb1 parent 572ceb74 files · +24 −2Browse files

Showing the changes to libraries/physics/src/EntityMotionState.cpp (1 of 4 files). Show all

Unified · Split

libraries/physics/src/EntityMotionState.cpp+2−0
@@ -68,6 +68,8 @@ void EntityMotionState::setWorldTransform (const btTransform &worldTrans) { · 67 unmodified lines
68 _entity->setAngularVelocity(v);68 _entity->setAngularVelocity(v);
69 69
70 _outgoingPacketFlags = DIRTY_PHYSICS_FLAGS;70 _outgoingPacketFlags = DIRTY_PHYSICS_FLAGS;
71
72 ObjectMotionState::enqueueOutgoingPacket(this);
71}73}
72#endif // USE_BULLET_PHYSICS74#endif // USE_BULLET_PHYSICS
73 75