Gear joint definition. This definition requires two existing revolute
or prismatic joints (any combination will work). The provided joints must
attach a dynamic body to a static body.
b2GearJointDef
|
|
|
|
|
__getstate__(self,
additional_ignore=[ ] )
Returns a dictionary representation of self, with
dict(var=value [, ...]) |
source code
|
|
|
__setstate__(self,
dict)
Takes each variable=value pair in the dictionary and sets the
attributes based on them |
source code
|
|
|
|
|
ClearUserData(...)
b2JointDef_ClearUserData(b2JointDef self) |
source code
|
|
|
GetUserData(...)
b2JointDef_GetUserData(b2JointDef self) -> PyObject |
source code
|
|
|
SetUserData(...)
b2JointDef_SetUserData(b2JointDef self, PyObject data) |
source code
|
|
|
|
|
|
|
thisown
The membership flag
|
|
joint1
b2GearJointDef_joint1_get(b2GearJointDef self) -> b2Joint
|
|
joint2
b2GearJointDef_joint2_get(b2GearJointDef self) -> b2Joint
|
|
ratio
b2GearJointDef_ratio_get(b2GearJointDef self) -> float32
|
|
body1
b2JointDef_body1_get(b2JointDef self) -> b2Body
|
|
body2
b2JointDef_body2_get(b2JointDef self) -> b2Body
|
|
collideConnected
b2JointDef_collideConnected_get(b2JointDef self) -> bool
|
|
type
b2JointDef_type_get(b2JointDef self) -> b2JointType
|
|
userData
GetUserData(self) -> PyObject
|