| Package | Box2D.Dynamics.Joints |
| Class | public class b2Joint |
| Subclasses | b2DistanceJoint, b2GearJoint, b2MouseJoint, b2PrismaticJoint, b2PulleyJoint, b2RevoluteJoint |
| Property | Defined by | ||
|---|---|---|---|
| m_body1 : b2Body | b2Joint | ||
| m_body2 : b2Body | b2Joint | ||
| m_collideConnected : Boolean | b2Joint | ||
| m_islandFlag : Boolean | b2Joint | ||
| m_next : b2Joint | b2Joint | ||
| m_node1 : b2JointNode | b2Joint | ||
| m_node2 : b2JointNode | 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 | |||
|
GetReactionForce(invTimeStep:Number):b2Vec2
| b2Joint | ||
|
GetReactionTorque(invTimeStep:Number):Number
| b2Joint | ||
|
GetType():int
| b2Joint | ||
|
GetUserData():*
| b2Joint | ||
|
PreparePositionSolver():void
| b2Joint | ||
|
PrepareVelocitySolver():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_islandFlag | property |
public var m_islandFlag:Boolean
| m_next | property |
public var m_next:b2Joint
| m_node1 | property |
public var m_node1:b2JointNode
| m_node2 | property |
public var m_node2:b2JointNode
| 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 |
| GetAnchor1 | () | method |
| GetAnchor2 | () | method |
| GetBody1 | () | method |
| GetBody2 | () | method |
| GetNext | () | method |
| GetReactionForce | () | method |
public function GetReactionForce(invTimeStep:Number):b2Vec2Parameters
invTimeStep:Number |
b2Vec2 |
| GetReactionTorque | () | method |
public function GetReactionTorque(invTimeStep:Number):NumberParameters
invTimeStep:Number |
Number |
| GetType | () | method |
public function GetType():int
Returns
int |
| GetUserData | () | method |
public function GetUserData():*
Returns
* |
| PreparePositionSolver | () | method |
public function PreparePositionSolver():void
| PrepareVelocitySolver | () | method |
public function PrepareVelocitySolver():void
| SolvePositionConstraints | () | method |
public function SolvePositionConstraints():Boolean
Returns
Boolean |
| 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