Chipmunk2D Pro API Reference
7.0.1
|
Fast collision filtering type that is used to determine if two objects collide before calling collision or query callbacks. More...
#include <cpShape.h>
Public Attributes | |
cpGroup | group |
Two objects with the same non-zero group value do not collide. More... | |
cpBitmask | categories |
A bitmask of user definable categories that this object belongs to. More... | |
cpBitmask | mask |
A bitmask of user definable category types that this object object collides with. More... | |
Fast collision filtering type that is used to determine if two objects collide before calling collision or query callbacks.
cpBitmask cpShapeFilter::categories |
A bitmask of user definable categories that this object belongs to.
The category/mask combinations of both objects in a collision must agree for a collision to occur.
cpGroup cpShapeFilter::group |
Two objects with the same non-zero group value do not collide.
This is generally used to group objects in a composite object together to disable self collisions.
cpBitmask cpShapeFilter::mask |
A bitmask of user definable category types that this object object collides with.
The category/mask combinations of both objects in a collision must agree for a collision to occur.