PackageBox2D.Dynamics.Joints
Classpublic class b2DistanceJoint
Inheritanceb2DistanceJoint Inheritance b2Joint



Public Properties
 PropertyDefined by
 Inheritedm_body1 : b2Body
b2Joint
 Inheritedm_body2 : b2Body
b2Joint
 Inheritedm_collideConnected : Boolean
b2Joint
  m_impulse : Number
b2DistanceJoint
 Inheritedm_islandFlag : Boolean
b2Joint
  m_length : Number
b2DistanceJoint
  m_localAnchor1 : b2Vec2
b2DistanceJoint
  m_localAnchor2 : b2Vec2
b2DistanceJoint
  m_mass : Number
b2DistanceJoint
 Inheritedm_next : b2Joint
b2Joint
 Inheritedm_node1 : b2JointNode
b2Joint
 Inheritedm_node2 : b2JointNode
b2Joint
 Inheritedm_prev : b2Joint
b2Joint
 Inheritedm_type : int
b2Joint
  m_u : b2Vec2
b2DistanceJoint
 Inheritedm_userData : *
b2Joint
Public Methods
 MethodDefined by
  
b2DistanceJoint
 Inherited
Create(def:b2JointDef, allocator:*):b2Joint
[static]
b2Joint
 Inherited
Destroy(joint:b2Joint, allocator:*):void
[static]
b2Joint
  
b2DistanceJoint
  
b2DistanceJoint
 Inherited
b2Joint
 Inherited
b2Joint
 Inherited
b2Joint
  
GetReactionForce(invTimeStep:Number):b2Vec2
b2DistanceJoint
  
GetReactionTorque(invTimeStep:Number):Number
b2DistanceJoint
 Inherited
GetType():int
b2Joint
 Inherited
b2Joint
 Inherited
b2Joint
  
b2DistanceJoint
  
b2DistanceJoint
  
b2DistanceJoint
Public Constants
 ConstantDefined by
 Inheritede_atLowerLimit : int = 1
[static]
b2Joint
 Inheritede_atUpperLimit : int = 2
[static]
b2Joint
 Inheritede_distanceJoint : int = 3
[static]
b2Joint
 Inheritede_equalLimits : int = 3
[static]
b2Joint
 Inheritede_gearJoint : int = 6
[static]
b2Joint
 Inheritede_inactiveLimit : int = 0
[static]
b2Joint
 Inheritede_mouseJoint : int = 5
[static]
b2Joint
 Inheritede_prismaticJoint : int = 2
[static]
b2Joint
 Inheritede_pulleyJoint : int = 4
[static]
b2Joint
 Inheritede_revoluteJoint : int = 1
[static]
b2Joint
 Inheritede_unknownJoint : int = 0
[static]
b2Joint
Property detail
m_impulseproperty
public var m_impulse:Number
m_lengthproperty 
public var m_length:Number
m_localAnchor1property 
public var m_localAnchor1:b2Vec2
m_localAnchor2property 
public var m_localAnchor2:b2Vec2
m_massproperty 
public var m_mass:Number
m_uproperty 
public var m_u:b2Vec2
Constructor detail
b2DistanceJoint()constructor
public function b2DistanceJoint(def:b2DistanceJointDef)Parameters
def:b2DistanceJointDef
Method detail
GetAnchor1()method
public override function GetAnchor1():b2Vec2

Returns
b2Vec2
GetAnchor2()method 
public override function GetAnchor2():b2Vec2

Returns
b2Vec2
GetReactionForce()method 
public override function GetReactionForce(invTimeStep:Number):b2Vec2Parameters
invTimeStep:Number

Returns
b2Vec2
GetReactionTorque()method 
public override function GetReactionTorque(invTimeStep:Number):NumberParameters
invTimeStep:Number

Returns
Number
PrepareVelocitySolver()method 
public override function PrepareVelocitySolver():void
SolvePositionConstraints()method 
public override function SolvePositionConstraints():Boolean

Returns
Boolean
SolveVelocityConstraints()method 
public override function SolveVelocityConstraints(step:b2TimeStep):voidParameters
step:b2TimeStep