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

Method getCategoryBitmask

core/physics/PhysicsBody.cpp:828–838  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

826}
827
828int PhysicsBody::getCategoryBitmask() const
829{
830 if (!_shapes.empty())
831 {
832 return _shapes.front()->getCategoryBitmask();
833 }
834 else
835 {
836 return UINT_MAX;
837 }
838}
839
840void PhysicsBody::setContactTestBitmask(int bitmask)
841{

Calls 2

emptyMethod · 0.45
frontMethod · 0.45

Tested by 1

onContactBeginMethod · 0.64