Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIAGameWorks/PhysX
/ getHeight
Method
getHeight
physx/samples/samplecctsharedcode/SampleCCTJump.cpp:59–65 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
57
}
58
59
PxF32 Jump::getHeight(PxF32 elapsedTime)
60
{
61
if(!mJump) return 0.0f;
62
mJumpTime += elapsedTime;
63
const PxF32 h = gJumpGravity*mJumpTime*mJumpTime + mV0*mJumpTime;
64
return h*elapsedTime;
65
}
66
Callers
3
update
Method · 0.45
update
Method · 0.45
jquery.js
File · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected