Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
86
void ControlledActor::reset()
87
{
88
PxSceneWriteLock scopedLock(mOwner.getActiveScene());
89
mController->setPosition(mInitialPosition);
90
}
91
92
void ControlledActor::teleport(const PxVec3& pos)
93
{
Callers
2
loaderThread
Method · 0.45
onDigitalInputEvent
Method · 0.45
Calls
1
setPosition
Method · 0.45
Tested by
no test coverage detected