History

DIRTY_PHYSICS_ACTIVATION not DIRTY_PHYSICS_NO_WAKE

also add separate flag for rotation and separate flags for linear vs angular velocity and some combined flag masks for convenience

Andrew Meadows committed 11 years ago

Commit 195dd141 parent c3901933 files · +27 −18Browse files

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

Unified · Split

libraries/physics/src/ObjectMotionState.cpp+1−1
@@ -146,7 +146,7 @@ void ObjectMotionState::handleEasyChanges(uint32_t flags) { · 145 unmodified lines
146 _body->updateInertiaTensor();146 _body->updateInertiaTensor();
147 }147 }
148 148
149 if (flags & EntityItem::DIRTY_ACTIVATION) {149 if (flags & EntityItem::DIRTY_PHYSICS_ACTIVATION) {
150 _body->activate();150 _body->activate();
151 }151 }
152}152}