| Home | Trees | Indices | Help |
|
|---|
|
|
A prismatic joint. This joint provides one degree of freedom: translation along an axis fixed in body1. Relative rotation is prevented. 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 b2PrismaticJoint_localAnchor1_get(b2PrismaticJoint self) -> b2Vec2 |
|||
|
localAnchor2 b2PrismaticJoint_localAnchor2_get(b2PrismaticJoint self) -> b2Vec2 |
|||
|
localXAxis1 b2PrismaticJoint_localXAxis1_get(b2PrismaticJoint self) -> b2Vec2 |
|||
|
localYAxis1 b2PrismaticJoint_localYAxis1_get(b2PrismaticJoint self) -> b2Vec2 |
|||
|
referenceAngle b2PrismaticJoint_referenceAngle_get(b2PrismaticJoint self) -> float32 |
|||
|
axis b2PrismaticJoint_axis_get(b2PrismaticJoint self) -> b2Vec2 |
|||
|
perp b2PrismaticJoint_perp_get(b2PrismaticJoint self) -> b2Vec2 |
|||
|
s1 b2PrismaticJoint_s1_get(b2PrismaticJoint self) -> float32 |
|||
|
s2 b2PrismaticJoint_s2_get(b2PrismaticJoint self) -> float32 |
|||
|
a1 b2PrismaticJoint_a1_get(b2PrismaticJoint self) -> float32 |
|||
|
a2 b2PrismaticJoint_a2_get(b2PrismaticJoint self) -> float32 |
|||
|
K b2PrismaticJoint_K_get(b2PrismaticJoint self) -> b2Mat33 |
|||
|
impulse b2PrismaticJoint_impulse_get(b2PrismaticJoint self) -> b2Vec3 |
|||
|
motorMass b2PrismaticJoint_motorMass_get(b2PrismaticJoint self) -> float32 |
|||
|
motorImpulse b2PrismaticJoint_motorImpulse_get(b2PrismaticJoint self) -> float32 |
|||
|
lowerTranslation b2PrismaticJoint_lowerTranslation_get(b2PrismaticJoint self) -> float32 |
|||
|
upperTranslation b2PrismaticJoint_upperTranslation_get(b2PrismaticJoint self) -> float32 |
|||
|
maxMotorForce b2PrismaticJoint_maxMotorForce_get(b2PrismaticJoint self) -> float32 |
|||
|
motorSpeed b2PrismaticJoint_motorSpeed_get(b2PrismaticJoint self) -> float32 |
|||
|
enableLimit b2PrismaticJoint_enableLimit_get(b2PrismaticJoint self) -> bool |
|||
|
enableMotor b2PrismaticJoint_enableMotor_get(b2PrismaticJoint self) -> bool |
|||
|
limitState b2PrismaticJoint_limitState_get(b2PrismaticJoint 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, b2PrismaticJointDef _def) -> b2PrismaticJoint A prismatic joint. This joint provides one degree of freedom: translation along an axis fixed in body1. Relative rotation is prevented. 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. |
b2PrismaticJoint_GetJointTranslation(b2PrismaticJoint self) -> float32 Get the current joint translation, usually in meters. |
b2PrismaticJoint_GetJointSpeed(b2PrismaticJoint self) -> float32 Get the current joint translation speed, usually in meters per second. |
b2PrismaticJoint_IsLimitEnabled(b2PrismaticJoint self) -> bool Is the joint limit enabled? |
b2PrismaticJoint_EnableLimit(b2PrismaticJoint self, bool flag) Enable/disable the joint limit. |
b2PrismaticJoint_GetLowerLimit(b2PrismaticJoint self) -> float32 Get the lower joint limit, usually in meters. |
b2PrismaticJoint_GetUpperLimit(b2PrismaticJoint self) -> float32 Get the upper joint limit, usually in meters. |
b2PrismaticJoint_SetLimits(b2PrismaticJoint self, float32 lower, float32 upper) Set the joint limits, usually in meters. |
b2PrismaticJoint_IsMotorEnabled(b2PrismaticJoint self) -> bool Is the joint motor enabled? |
b2PrismaticJoint_EnableMotor(b2PrismaticJoint self, bool flag) Enable/disable the joint motor. |
b2PrismaticJoint_SetMotorSpeed(b2PrismaticJoint self, float32 speed) Set the motor speed, usually in meters per second. |
b2PrismaticJoint_GetMotorSpeed(b2PrismaticJoint self) -> float32 Get the motor speed, usually in meters per second. |
b2PrismaticJoint_SetMaxMotorForce(b2PrismaticJoint self, float32 force) Set the maximum motor force, usually in N. |
b2PrismaticJoint_GetMotorForce(b2PrismaticJoint self) -> float32 Get the current motor force, usually in N. |
|
|||
thisownThe membership flag |
localAnchor1b2PrismaticJoint_localAnchor1_get(b2PrismaticJoint self) -> b2Vec2 |
localAnchor2b2PrismaticJoint_localAnchor2_get(b2PrismaticJoint self) -> b2Vec2 |
localXAxis1b2PrismaticJoint_localXAxis1_get(b2PrismaticJoint self) -> b2Vec2 |
localYAxis1b2PrismaticJoint_localYAxis1_get(b2PrismaticJoint self) -> b2Vec2 |
referenceAngleb2PrismaticJoint_referenceAngle_get(b2PrismaticJoint self) -> float32 |
axisb2PrismaticJoint_axis_get(b2PrismaticJoint self) -> b2Vec2 |
perpb2PrismaticJoint_perp_get(b2PrismaticJoint self) -> b2Vec2 |
s1b2PrismaticJoint_s1_get(b2PrismaticJoint self) -> float32 |
s2b2PrismaticJoint_s2_get(b2PrismaticJoint self) -> float32 |
a1b2PrismaticJoint_a1_get(b2PrismaticJoint self) -> float32 |
a2b2PrismaticJoint_a2_get(b2PrismaticJoint self) -> float32 |
Kb2PrismaticJoint_K_get(b2PrismaticJoint self) -> b2Mat33 |
impulseb2PrismaticJoint_impulse_get(b2PrismaticJoint self) -> b2Vec3 |
motorMassb2PrismaticJoint_motorMass_get(b2PrismaticJoint self) -> float32 |
motorImpulseb2PrismaticJoint_motorImpulse_get(b2PrismaticJoint self) -> float32 |
lowerTranslationb2PrismaticJoint_lowerTranslation_get(b2PrismaticJoint self) -> float32 |
upperTranslationb2PrismaticJoint_upperTranslation_get(b2PrismaticJoint self) -> float32 |
maxMotorForceb2PrismaticJoint_maxMotorForce_get(b2PrismaticJoint self) -> float32 |
motorSpeedb2PrismaticJoint_motorSpeed_get(b2PrismaticJoint self) -> float32 |
enableLimitb2PrismaticJoint_enableLimit_get(b2PrismaticJoint self) -> bool |
enableMotorb2PrismaticJoint_enableMotor_get(b2PrismaticJoint self) -> bool |
limitStateb2PrismaticJoint_limitState_get(b2PrismaticJoint self) -> b2LimitState |
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Tue Feb 24 18:39:58 2009 | http://epydoc.sourceforge.net |