MCPcopy Create free account
hub / github.com/RavEngine/RavEngine / onActorAttach

Method onActorAttach

deps/physx/physx/source/physx/src/NpShape.cpp:641–647  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

639}
640
641void NpShape::onActorAttach(PxRigidActor& actor)
642{
643 incRefCount();
644 if(isExclusiveFast())
645 mActor = &actor;
646 Ps::atomicIncrement(&mExclusiveAndActorCount);
647}
648
649void NpShape::onActorDetach()
650{

Callers 2

resolveReferencesMethod · 0.80
attachShapeMethod · 0.80

Calls 3

incRefCountFunction · 0.85
isExclusiveFastFunction · 0.85
atomicIncrementFunction · 0.50

Tested by

no test coverage detected