Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
Box2D
Dynamics
Joints
JointDef
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