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

Method getCollisionBitmask

core/physics/PhysicsBody.cpp:868–878  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

866}
867
868int PhysicsBody::getCollisionBitmask() const
869{
870 if (!_shapes.empty())
871 {
872 return _shapes.front()->getCollisionBitmask();
873 }
874 else
875 {
876 return UINT_MAX;
877 }
878}
879
880void PhysicsBody::setGroup(int group)
881{

Calls 2

emptyMethod · 0.45
frontMethod · 0.45

Tested by

no test coverage detected