Go to the source code of this file.
Function Documentation
Destroy JointDef
- Parameters:
-
The first attached body.
- Parameters:
-
def | the joint definition. |
body | the attached body. |
The second attached body.
- Parameters:
-
def | the joint definition. |
body | the attached body. |
var b2JointDef_GetCollideConnected |
( |
b2JointDef * |
def | ) |
|
Set this flag to true if the attached bodies should collide.
- Parameters:
-
Get Joint type The joint type is set automatically for concrete joint types.
- Parameters:
-
Get attached joint data
- Parameters:
-
The first attached body.
- Parameters:
-
def | the joint definition. |
body | the attached body. |
The second attached body.
- Parameters:
-
def | the joint definition. |
body | the attached body. |
void b2JointDef_SetCollideConnected |
( |
b2JointDef * |
def, |
|
|
var |
flag |
|
) |
| |
Set this flag to true if the attached bodies should collide.
- Parameters:
-
def | the joint definition. |
flag | the flag. |
void b2JointDef_SetType |
( |
b2JointDef * |
def, |
|
|
var |
type |
|
) |
| |
Set Joint type The joint type is set automatically for concrete joint types.
- Parameters:
-
def | the joint definition. |
type | the joint type |
void b2JointDef_SetUserData |
( |
b2JointDef * |
def, |
|
|
void * |
userData |
|
) |
| |
Use this to attach application specific data to your joints.
- Parameters:
-
def | the joint definition. |
userData | the data attached to the joint |