Box2D 3.2.0
A 2D physics engine for games
Loading...
Searching...
No Matches

Functions for the filter joint. More...

Data Structures

struct  b2FilterJointDef
 A filter joint is used to disable collision between two specific bodies. More...

Functions

b2JointId b2CreateFilterJoint (b2WorldId worldId, const b2FilterJointDef *def)
 Create a filter joint.
b2FilterJointDef b2DefaultFilterJointDef (void)
 Use this to initialize your joint definition.

Detailed Description

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.


Data Structure Documentation

◆ b2FilterJointDef

struct b2FilterJointDef

A filter joint is used to disable collision between two specific bodies.

Data Fields
b2JointDef base Base joint definition.
int internalValue Used internally to detect a valid definition. DO NOT SET.

Function Documentation

◆ b2CreateFilterJoint()

b2JointId b2CreateFilterJoint ( b2WorldId worldId,
const b2FilterJointDef * def )

Create a filter joint.

See also
b2FilterJointDef for details