Home | Trees | Indices | Help |
|
---|
|
A line joint. This joint provides one degree of freedom: translation along an axis fixed in body1. You can use a joint limit to restrict the range of motion and a joint motor to drive the motion or to model joint friction.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from b2Joint | |||
---|---|---|---|
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
|||
thisown The membership flag |
|||
localAnchor1 b2LineJoint_localAnchor1_get(b2LineJoint self) -> b2Vec2 |
|||
localAnchor2 b2LineJoint_localAnchor2_get(b2LineJoint self) -> b2Vec2 |
|||
localXAxis1 b2LineJoint_localXAxis1_get(b2LineJoint self) -> b2Vec2 |
|||
localYAxis1 b2LineJoint_localYAxis1_get(b2LineJoint self) -> b2Vec2 |
|||
axis b2LineJoint_axis_get(b2LineJoint self) -> b2Vec2 |
|||
perp b2LineJoint_perp_get(b2LineJoint self) -> b2Vec2 |
|||
s1 b2LineJoint_s1_get(b2LineJoint self) -> float32 |
|||
s2 b2LineJoint_s2_get(b2LineJoint self) -> float32 |
|||
a1 b2LineJoint_a1_get(b2LineJoint self) -> float32 |
|||
a2 b2LineJoint_a2_get(b2LineJoint self) -> float32 |
|||
K b2LineJoint_K_get(b2LineJoint self) -> b2Mat22 |
|||
impulse b2LineJoint_impulse_get(b2LineJoint self) -> b2Vec2 |
|||
motorMass b2LineJoint_motorMass_get(b2LineJoint self) -> float32 |
|||
motorImpulse b2LineJoint_motorImpulse_get(b2LineJoint self) -> float32 |
|||
lowerTranslation b2LineJoint_lowerTranslation_get(b2LineJoint self) -> float32 |
|||
upperTranslation b2LineJoint_upperTranslation_get(b2LineJoint self) -> float32 |
|||
maxMotorForce b2LineJoint_maxMotorForce_get(b2LineJoint self) -> float32 |
|||
motorSpeed b2LineJoint_motorSpeed_get(b2LineJoint self) -> float32 |
|||
enableLimit b2LineJoint_enableLimit_get(b2LineJoint self) -> bool |
|||
enableMotor b2LineJoint_enableMotor_get(b2LineJoint self) -> bool |
|||
limitState b2LineJoint_limitState_get(b2LineJoint self) -> b2LimitState |
|||
Inherited from b2Joint | |||
---|---|---|---|
body1 GetBody1(self) -> b2Body |
|||
body2 GetBody2(self) -> b2Body |
|||
collideConnected GetCollideConnected(self) -> bool |
|||
type GetType(self) -> b2JointType |
|||
userData GetUserData(self) -> PyObject |
|
__init__(self, b2LineJointDef _def) -> b2LineJoint A line joint. This joint provides one degree of freedom: translation along an axis fixed in body1. You can use a joint limit to restrict the range of motion and a joint motor to drive the motion or to model joint friction.
|
|
Get the state of a joint.
|
The factory output cannot be created just yet, so store the necessary information to create it later.
|
Finalize a joint. The bodies and joints need to be retrieved from the world list in order to make the joint. |
b2LineJoint_GetJointTranslation(b2LineJoint self) -> float32 Get the current joint translation, usually in meters. |
b2LineJoint_GetJointSpeed(b2LineJoint self) -> float32 Get the current joint translation speed, usually in meters per second. |
b2LineJoint_IsLimitEnabled(b2LineJoint self) -> bool Is the joint limit enabled? |
b2LineJoint_EnableLimit(b2LineJoint self, bool flag) Enable/disable the joint limit. |
b2LineJoint_GetLowerLimit(b2LineJoint self) -> float32 Get the lower joint limit, usually in meters. |
b2LineJoint_GetUpperLimit(b2LineJoint self) -> float32 Get the upper joint limit, usually in meters. |
b2LineJoint_SetLimits(b2LineJoint self, float32 lower, float32 upper) Set the joint limits, usually in meters. |
b2LineJoint_IsMotorEnabled(b2LineJoint self) -> bool Is the joint motor enabled? |
b2LineJoint_EnableMotor(b2LineJoint self, bool flag) Enable/disable the joint motor. |
b2LineJoint_SetMotorSpeed(b2LineJoint self, float32 speed) Set the motor speed, usually in meters per second. |
b2LineJoint_GetMotorSpeed(b2LineJoint self) -> float32 Get the motor speed, usually in meters per second. |
b2LineJoint_SetMaxMotorForce(b2LineJoint self, float32 force) Set the maximum motor force, usually in N. |
b2LineJoint_GetMotorForce(b2LineJoint self) -> float32 Get the current motor force, usually in N. |
|
thisownThe membership flag |
localAnchor1b2LineJoint_localAnchor1_get(b2LineJoint self) -> b2Vec2 |
localAnchor2b2LineJoint_localAnchor2_get(b2LineJoint self) -> b2Vec2 |
localXAxis1b2LineJoint_localXAxis1_get(b2LineJoint self) -> b2Vec2 |
localYAxis1b2LineJoint_localYAxis1_get(b2LineJoint self) -> b2Vec2 |
axisb2LineJoint_axis_get(b2LineJoint self) -> b2Vec2 |
perpb2LineJoint_perp_get(b2LineJoint self) -> b2Vec2 |
s1b2LineJoint_s1_get(b2LineJoint self) -> float32 |
s2b2LineJoint_s2_get(b2LineJoint self) -> float32 |
a1b2LineJoint_a1_get(b2LineJoint self) -> float32 |
a2b2LineJoint_a2_get(b2LineJoint self) -> float32 |
Kb2LineJoint_K_get(b2LineJoint self) -> b2Mat22 |
impulseb2LineJoint_impulse_get(b2LineJoint self) -> b2Vec2 |
motorMassb2LineJoint_motorMass_get(b2LineJoint self) -> float32 |
motorImpulseb2LineJoint_motorImpulse_get(b2LineJoint self) -> float32 |
lowerTranslationb2LineJoint_lowerTranslation_get(b2LineJoint self) -> float32 |
upperTranslationb2LineJoint_upperTranslation_get(b2LineJoint self) -> float32 |
maxMotorForceb2LineJoint_maxMotorForce_get(b2LineJoint self) -> float32 |
motorSpeedb2LineJoint_motorSpeed_get(b2LineJoint self) -> float32 |
enableLimitb2LineJoint_enableLimit_get(b2LineJoint self) -> bool |
enableMotorb2LineJoint_enableMotor_get(b2LineJoint self) -> bool |
limitStateb2LineJoint_limitState_get(b2LineJoint self) -> b2LimitState |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue Feb 24 18:39:58 2009 | http://epydoc.sourceforge.net |