MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/Blast / processActorDestroyed

Method processActorDestroyed

samples/SampleBase/blast/BlastFamily.cpp:177–185  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

175}
176
177void BlastFamily::processActorDestroyed(ExtPxFamily&, ExtPxActor& actor)
178{
179 m_totalVisibleChunkCount -= actor.getChunkCount();
180 m_physXController.notifyRigidDynamicDestroyed(&actor.getPhysXActor());
181
182 onActorDestroyed(actor);
183
184 m_actors.erase(m_actors.find(&actor));
185}
186
187///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
188// Data Helpers

Callers 1

onActorDestroyedMethod · 0.80

Calls 3

findMethod · 0.80
getChunkCountMethod · 0.45

Tested by

no test coverage detected