MCPcopy Create free account
hub / github.com/DanielChappuis/reactphysics3d / getLocalToWorldTransform

Method getLocalToWorldTransform

src/collision/Collider.cpp:232–234  ·  view source on GitHub ↗

Return the local to world transform * @return The transformation that transforms the local-space of the collision * shape to the world-space */

Source from the content-addressed store, hash-verified

230 * shape to the world-space
231 */
232const Transform Collider::getLocalToWorldTransform() const {
233 return mBody->mWorld.mCollidersComponents.getLocalToWorldTransform(mEntity);
234}
235
236// Return true if the collider is a trigger
237/**

Callers 6

onContactMethod · 0.80
raycastMethod · 0.80
onContactMethod · 0.80
notifyRaycastHitMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected