MCPcopy Create free account
hub / github.com/axmolengine/axmol / getContactTestBitmask

Method getContactTestBitmask

core/physics/PhysicsBody.cpp:848–858  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

846}
847
848int PhysicsBody::getContactTestBitmask() const
849{
850 if (!_shapes.empty())
851 {
852 return _shapes.front()->getContactTestBitmask();
853 }
854 else
855 {
856 return 0x00000000;
857 }
858}
859
860void PhysicsBody::setCollisionBitmask(int bitmask)
861{

Calls 2

emptyMethod · 0.45
frontMethod · 0.45

Tested by

no test coverage detected