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

Method reset

deps/physx/physx/samples/samplecctsharedcode/SampleCCTActor.cpp:86–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86void ControlledActor::reset()
87{
88 PxSceneWriteLock scopedLock(mOwner.getActiveScene());
89 mController->setPosition(mInitialPosition);
90}
91
92void ControlledActor::teleport(const PxVec3& pos)
93{

Callers 2

loaderThreadMethod · 0.45
onDigitalInputEventMethod · 0.45

Calls 1

setPositionMethod · 0.45

Tested by

no test coverage detected