Line joint definition. This requires defining a line of motion using
an axis and an anchor point. The definition uses local anchor points and
a local axis so that the initial configuration can violate the constraint
slightly. The joint translation is zero when the local anchor points
coincide in world space. Using local anchors and a local axis helps when
saving and loading a game.
b2LineJointDef
|
|
|
|
|
__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
|
|
|
|
|
Initialize(...)
b2LineJointDef_Initialize(b2LineJointDef self, b2Body body1, b2Body body2, b2Vec2 anchor,
b2Vec2 axis) |
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
|
|
localAnchor1
b2LineJointDef_localAnchor1_get(b2LineJointDef self) -> b2Vec2
|
|
localAnchor2
b2LineJointDef_localAnchor2_get(b2LineJointDef self) -> b2Vec2
|
|
localAxis1
b2LineJointDef_localAxis1_get(b2LineJointDef self) -> b2Vec2
|
|
enableLimit
b2LineJointDef_enableLimit_get(b2LineJointDef self) -> bool
|
|
lowerTranslation
b2LineJointDef_lowerTranslation_get(b2LineJointDef self) ->
float32
|
|
upperTranslation
b2LineJointDef_upperTranslation_get(b2LineJointDef self) ->
float32
|
|
enableMotor
b2LineJointDef_enableMotor_get(b2LineJointDef self) -> bool
|
|
maxMotorForce
b2LineJointDef_maxMotorForce_get(b2LineJointDef self) -> float32
|
|
motorSpeed
b2LineJointDef_motorSpeed_get(b2LineJointDef 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
|