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
146146 _body->updateInertiaTensor();
147147 }
148148
149− if (flags & EntityItem::DIRTY_ACTIVATION) {
149+ if (flags & EntityItem::DIRTY_PHYSICS_ACTIVATION) {
150150 _body->activate();
151151 }
152152 }