Home | Trees | Indices | Help |
|
---|
|
The base joint class. Joints are used to constraint two bodies together in various fashions. Some joints also feature limits and motors.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
|||
thisown The membership flag |
|||
userData GetUserData(self) -> PyObject |
|||
type GetType(self) -> b2JointType |
|||
body1 GetBody1(self) -> b2Body |
|||
body2 GetBody2(self) -> b2Body |
|||
collideConnected GetCollideConnected(self) -> bool |
|
|
|
Return the name of the joint from: Unknown, Mouse, Gear, Distance, Prismatic, Pulley, Revolute |
b2Joint_GetType(b2Joint self) -> b2JointType Get the type of the concrete joint. |
b2Joint_GetBody1(b2Joint self) -> b2Body Get the first body attached to this joint. |
b2Joint_GetBody2(b2Joint self) -> b2Body Get the second body attached to this joint. |
b2Joint_GetAnchor1(b2Joint self) -> b2Vec2 Get the anchor point on body1 in world coordinates. |
b2Joint_GetAnchor2(b2Joint self) -> b2Vec2 Get the anchor point on body2 in world coordinates. |
b2Joint_GetReactionForce(b2Joint self, float32 inv_dt) -> b2Vec2 Get the reaction force on body2 at the joint anchor. |
b2Joint_GetReactionTorque(b2Joint self, float32 inv_dt) -> float32 Get the reaction torque on body2. |
b2Joint_GetNext(b2Joint self) -> b2Joint Get the next joint the world joint list. |
b2Joint_GetCollideConnected(b2Joint self) -> bool Get whether or not joint bodies can collide. |
b2Joint_GetUserData(b2Joint self) -> PyObject Get the user data pointer. |
b2Joint_SetUserData(b2Joint self, PyObject data) Set the user data pointer. |
b2Joint___hash__(b2Joint self) -> int32
|
|
thisownThe membership flag |
userDataGetUserData(self) -> PyObject Get the user data pointer. |
typeGetType(self) -> b2JointType Get the type of the concrete joint. |
body1GetBody1(self) -> b2Body Get the first body attached to this joint. |
body2GetBody2(self) -> b2Body Get the second body attached to this joint. |
collideConnectedGetCollideConnected(self) -> bool Get whether or not joint bodies can collide. |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue Feb 24 18:39:58 2009 | http://epydoc.sourceforge.net |