MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/PhysX / getAbsPose

Method getAbsPose

physx/source/lowlevel/software/src/PxsCCD.cpp:234–241  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

232}
233
234PxTransform PxsCCDShape::getAbsPose(const PxsRigidBody* atom) const
235{
236 // PT: TODO: refactor with ShapeSim version (SIMD) - or with redundant getShapeAbsPose() above in this same file!
237 if(atom)
238 return atom->getPose() * atom->getCore().getBody2Actor().getInverse() * mShapeCore->transform;
239 else
240 return mRigidCore->body2World * mShapeCore->transform;
241}
242
243PxTransform PxsCCDShape::getLastCCDAbsPose(const PxsRigidBody* atom) const
244{

Callers 2

updateShapesMethod · 0.80
updateCCDMethod · 0.80

Calls 2

getInverseMethod · 0.45
getCoreMethod · 0.45

Tested by

no test coverage detected