| 485 | } |
| 486 | |
| 487 | PX_FORCE_INLINE void RigidObject::syncNoSimSwitch(const Buf& buf, Sc::RigidCore& rc, bool isDynamic) |
| 488 | { |
| 489 | const PxActorFlags oldFlags = rc.getActorFlags(); |
| 490 | const bool oldNoSim = oldFlags.isSet(PxActorFlag::eDISABLE_SIMULATION); |
| 491 | const bool newNoSim = buf.mActorFlags.isSet(PxActorFlag::eDISABLE_SIMULATION); |
| 492 | |
| 493 | if(oldNoSim && (!newNoSim)) |
| 494 | getScbScene()->switchRigidFromNoSim(*this, isDynamic); |
| 495 | else if((!oldNoSim) && newNoSim) |
| 496 | getScbScene()->switchRigidToNoSim(*this, isDynamic); |
| 497 | } |
| 498 | |
| 499 | PX_FORCE_INLINE void RigidObject::copyResetFilterShapes(Scb::Shape** shapePtrs, Scb::Shape*const* oldShapes, PxU32 oldShapeCount, Scb::Shape*const* newShapes, PxU32 newShapeCount) |
| 500 | { |
nothing calls this directly
no test coverage detected