Functions for the filter joint. More...
Data Structures | |
struct | b2FilterJointDef |
A filter joint is used to disable collision between two specific bodies. More... | |
Functions | |
B2_API b2JointId | b2CreateFilterJoint (b2WorldId worldId, const b2FilterJointDef *def) |
Create a filter joint. | |
b2FilterJointDef | b2DefaultFilterJointDef (void) |
Use this to initialize your joint definition. | |
Functions for the filter joint.
The filter joint is used to disable collision between two bodies. As a side effect of being a joint, it also keeps the two bodies in the same simulation island.
struct b2FilterJointDef |
A filter joint is used to disable collision between two specific bodies.
Data Fields | ||
---|---|---|
b2BodyId | bodyIdA | The first attached body. |
b2BodyId | bodyIdB | The second attached body. |
int | internalValue | Used internally to detect a valid definition. DO NOT SET. |
void * | userData | User data pointer. |
B2_API b2JointId b2CreateFilterJoint | ( | b2WorldId | worldId, |
const b2FilterJointDef * | def ) |
Create a filter joint.