Struct liquidfun::box2d::dynamics::fixture::Filter
[−]
[src]
pub struct Filter { pub category_bits: UInt16, pub mask_bits: UInt16, pub group_index: Int16, }
This holds contact filtering data.
Fields
category_bits | The collision category bits. Normally you would just set one bit. |
mask_bits | The collision mask bits. This states the categories that this shape would accept for collision. |
group_index | Collision groups allow a certain group of objects to never collide (negative) or always collide (positive). Zero means no collision group. Non-zero group filtering always wins against the mask bits. |