C# Class Box2D.Dynamics.Joints.JointDef

Joint definitions are used to construct joints.
ファイルを表示 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_oe property

The first attached body.
public Body BodyA
return Body

BodyB public_oe property

The second attached body.
public Body BodyB
return Body

CollideConnected public_oe property

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

Type public_oe property

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

UserData public_oe property

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