HughPH.Box2D
Organised dotnet bindings for Box2D 3.1.0
Loading...
Searching...
No Matches
Public Member Functions | Properties | List of all members
Box2D.FilterJointDef Class Referencesealed

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. More...

Public Member Functions

 FilterJointDef (Body bodyA, Body bodyB, object? userData=null)
 Constructs a new filter joint definition with the supplied values.
 
 FilterJointDef ()
 Constructs a filter joint definition with the default values.
 

Properties

ref Body BodyA [get]
 The first attached body.
 
ref Body BodyB [get]
 The second attached body.
 
object? UserData [get, set]
 User data.
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ FilterJointDef()

Box2D.FilterJointDef.FilterJointDef ( Body  bodyA,
Body  bodyB,
object?  userData = null 
)
inline

Constructs a new filter joint definition with the supplied values.

Parameters
bodyAThe first attached body.
bodyBThe second attached body.
userDataUser data

The documentation for this class was generated from the following file: