C# Class Box2D.Dynamics.Joints.JointDef

Joint definitions are used to construct joints.
Show file Open project: gerich-home/box2dnet Class Usage Examples

Public Properties

Property Type Description
BodyA Body
BodyB Body
CollideConnected bool
Type JointType
UserData object

Public Methods

Method Description
JointDef ( )

Method Details

JointDef() public method

public JointDef ( )

Property Details

BodyA public property

The first attached body.
public Body BodyA
return Body

BodyB public property

The second attached body.
public Body BodyB
return Body

CollideConnected public property

Set this flag to true if the attached bodies should collide.
public bool CollideConnected
return bool

Type public property

The joint type is set automatically for concrete joint types.
public JointType Type
return JointType

UserData public property

Use this to attach application specific data to your joints.
public object UserData
return object