C# Class Box2DX.Dynamics.JointDef

Joint definitions are used to construct joints.
Mostra file Open project: KrugerHeavyIndustries/box2d-unity Class Usage Examples

Public Properties

Property Type Description
Body1 Body
Body2 Body
CollideConnected bool
Type JointType
UserData object

Public Methods

Method Description
JointDef ( ) : System

Method Details

JointDef() public method

public JointDef ( ) : System
return System

Property Details

Body1 public_oe property

The first attached body.
public Body,Box2DX.Dynamics Body1
return Body

Body2 public_oe property

The second attached body.
public Body,Box2DX.Dynamics Body2
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