| Package | Box2D.Dynamics.Joints |
| Class | public class b2Joint |
| Inheritance | b2Joint Object |
| Subclasses | b2DistanceJoint, b2GearJoint, b2MouseJoint, b2PrismaticJoint, b2PulleyJoint, b2RevoluteJoint |
| Property | Defined By | ||
|---|---|---|---|
| m_body1 : b2Body | b2Joint | ||
| m_body2 : b2Body | b2Joint | ||
| m_collideConnected : Boolean | b2Joint | ||
| m_inv_dt : Number | b2Joint | ||
| m_islandFlag : Boolean | b2Joint | ||
| m_next : b2Joint | b2Joint | ||
| m_node1 : b2JointEdge | b2Joint | ||
| m_node2 : b2JointEdge | b2Joint | ||
| m_prev : b2Joint | b2Joint | ||
| m_type : int | b2Joint | ||
| m_userData : * | b2Joint | ||
| Method | Defined By | ||
|---|---|---|---|
b2Joint(def:b2JointDef) | b2Joint | ||
[static] | b2Joint | ||
[static] | b2Joint | ||
| b2Joint | |||
| b2Joint | |||
| b2Joint | |||
| b2Joint | |||
| b2Joint | |||
| b2Joint | |||
GetReactionTorque():Number | b2Joint | ||
GetType():int | b2Joint | ||
GetUserData():* | b2Joint | ||
InitPositionConstraints():void | b2Joint | ||
InitVelocityConstraints(step:b2TimeStep):void | b2Joint | ||
SetUserData(data:*):void | b2Joint | ||
SolvePositionConstraints():Boolean | b2Joint | ||
SolveVelocityConstraints(step:b2TimeStep):void | b2Joint | ||
| Constant | Defined By | ||
|---|---|---|---|
| e_atLowerLimit : int = 1 [static] | b2Joint | ||
| e_atUpperLimit : int = 2 [static] | b2Joint | ||
| e_distanceJoint : int = 3 [static] | b2Joint | ||
| e_equalLimits : int = 3 [static] | b2Joint | ||
| e_gearJoint : int = 6 [static] | b2Joint | ||
| e_inactiveLimit : int = 0 [static] | b2Joint | ||
| e_mouseJoint : int = 5 [static] | b2Joint | ||
| e_prismaticJoint : int = 2 [static] | b2Joint | ||
| e_pulleyJoint : int = 4 [static] | b2Joint | ||
| e_revoluteJoint : int = 1 [static] | b2Joint | ||
| e_unknownJoint : int = 0 [static] | b2Joint | ||
| m_body1 | property |
public var m_body1:b2Body| m_body2 | property |
public var m_body2:b2Body| m_collideConnected | property |
public var m_collideConnected:Boolean| m_inv_dt | property |
public var m_inv_dt:Number| m_islandFlag | property |
public var m_islandFlag:Boolean| m_next | property |
public var m_next:b2Joint| m_node1 | property |
public var m_node1:b2JointEdge| m_node2 | property |
public var m_node2:b2JointEdge| m_prev | property |
public var m_prev:b2Joint| m_type | property |
public var m_type:int| m_userData | property |
public var m_userData:*| b2Joint | () | Constructor |
| Create | () | method |
public static function Create(def:b2JointDef, allocator:*):b2JointParameters
def:b2JointDef | |
allocator:* |
b2Joint |
| Destroy | () | method |
public static function Destroy(joint:b2Joint, allocator:*):voidParameters
joint:b2Joint | |
allocator:* |
| GetAnchor1 | () | method |
| GetAnchor2 | () | method |
| GetBody1 | () | method |
| GetBody2 | () | method |
| GetNext | () | method |
| GetReactionForce | () | method |
| GetReactionTorque | () | method |
public function GetReactionTorque():NumberReturnsNumber |
| GetType | () | method |
public function GetType():intReturnsint |
| GetUserData | () | method |
public function GetUserData():*Returns* |
| InitPositionConstraints | () | method |
public function InitPositionConstraints():void| InitVelocityConstraints | () | method |
| SetUserData | () | method |
public function SetUserData(data:*):voidParameters
data:* |
| SolvePositionConstraints | () | method |
public function SolvePositionConstraints():BooleanReturnsBoolean |
| SolveVelocityConstraints | () | method |
| e_atLowerLimit | Constant |
public static const e_atLowerLimit:int = 1| e_atUpperLimit | Constant |
public static const e_atUpperLimit:int = 2| e_distanceJoint | Constant |
public static const e_distanceJoint:int = 3| e_equalLimits | Constant |
public static const e_equalLimits:int = 3| e_gearJoint | Constant |
public static const e_gearJoint:int = 6| e_inactiveLimit | Constant |
public static const e_inactiveLimit:int = 0| e_mouseJoint | Constant |
public static const e_mouseJoint:int = 5| e_prismaticJoint | Constant |
public static const e_prismaticJoint:int = 2| e_pulleyJoint | Constant |
public static const e_pulleyJoint:int = 4| e_revoluteJoint | Constant |
public static const e_revoluteJoint:int = 1| e_unknownJoint | Constant |
public static const e_unknownJoint:int = 0