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

Method removeCollider

src/body/RigidBody.cpp:723–730  ·  view source on GitHub ↗

Remove a collider from the body To remove a collider, you need to specify its pointer. * @param collider The pointer of the collider you want to remove */

Source from the content-addressed store, hash-verified

721 * @param collider The pointer of the collider you want to remove
722 */
723void RigidBody::removeCollider(Collider* collider) {
724
725 // Awake all the sleeping neighbor bodies of the current one
726 awakeNeighborDisabledBodies();
727
728 // Remove the collision shape
729 Body::removeCollider(collider);
730}
731
732// Set the variable to know if the gravity is applied to this rigid body
733/**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected