MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/PhysX / isValid

Method isValid

physx/source/physx/src/NpConstraint.cpp:309–315  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

307}
308
309bool NpConstraint::isValid() const
310{
311 NP_READ_CHECK(getNpScene());
312 bool isValid0 = mActor0 && !mActor0->is<PxRigidStatic>();
313 bool isValid1 = mActor1 && !mActor1->is<PxRigidStatic>();
314 return isValid0 || isValid1;
315}
316
317void* NpConstraint::getExternalReference(PxU32& typeID)
318{

Callers 15

serializeCollectionFunction · 0.45
overlapMethod · 0.45
sweepMethod · 0.45
createArticulationLinkFunction · 0.45
createShapeMethod · 0.45
createRigidStaticMethod · 0.45
createRigidDynamicMethod · 0.45
teleportRootLinkMethod · 0.45
geomHitMethod · 0.45
multiQueryMethod · 0.45
setGeometryMethod · 0.45
addActorsMethod · 0.45

Calls 1

getNpSceneFunction · 0.85

Tested by

no test coverage detected