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

Method getCollideWithMaskBits

src/collision/Collider.cpp:206–208  ·  view source on GitHub ↗

Return the collision bits mask * @return The bits mask that specifies with which collision category this shape will collide */

Source from the content-addressed store, hash-verified

204 * @return The bits mask that specifies with which collision category this shape will collide
205 */
206unsigned short Collider::getCollideWithMaskBits() const {
207 return mBody->mWorld.mCollidersComponents.getCollideWithMaskBits(mEntity);
208}
209
210// Notify the collider that the size of the collision shape has been changed by the user
211void Collider::setHasCollisionShapeChangedSize(bool hasCollisionShapeChangedSize) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected