PackageBox2D.Dynamics.Joints
Classpublic class b2GearJoint
Inheritanceb2GearJoint Inheritance b2Joint



Public Properties
 PropertyDefined by
 Inheritedm_body1 : b2Body
b2Joint
 Inheritedm_body2 : b2Body
b2Joint
 Inheritedm_collideConnected : Boolean
b2Joint
  m_constant : Number
b2GearJoint
  m_ground1 : b2Body
b2GearJoint
  m_ground2 : b2Body
b2GearJoint
  m_groundAnchor1 : b2Vec2
b2GearJoint
  m_groundAnchor2 : b2Vec2
b2GearJoint
  m_impulse : Number
b2GearJoint
 Inheritedm_islandFlag : Boolean
b2Joint
  m_J : b2Jacobian
b2GearJoint
  m_localAnchor1 : b2Vec2
b2GearJoint
  m_localAnchor2 : b2Vec2
b2GearJoint
  m_mass : Number
b2GearJoint
 Inheritedm_next : b2Joint
b2Joint
 Inheritedm_node1 : b2JointNode
b2Joint
 Inheritedm_node2 : b2JointNode
b2Joint
 Inheritedm_prev : b2Joint
b2Joint
  m_prismatic1 : b2PrismaticJoint
b2GearJoint
  m_prismatic2 : b2PrismaticJoint
b2GearJoint
  m_ratio : Number
b2GearJoint
  m_revolute1 : b2RevoluteJoint
b2GearJoint
  m_revolute2 : b2RevoluteJoint
b2GearJoint
 Inheritedm_type : int
b2Joint
 Inheritedm_userData : *
b2Joint
Public Methods
 MethodDefined by
  
b2GearJoint
 Inherited
Create(def:b2JointDef, allocator:*):b2Joint
[static]
b2Joint
 Inherited
Destroy(joint:b2Joint, allocator:*):void
[static]
b2Joint
  
b2GearJoint
  
b2GearJoint
 Inherited
b2Joint
 Inherited
b2Joint
 Inherited
b2Joint
  
GetRatio():Number
b2GearJoint
  
GetReactionForce(invTimeStep:Number):b2Vec2
b2GearJoint
  
GetReactionTorque(invTimeStep:Number):Number
b2GearJoint
 Inherited
GetType():int
b2Joint
 Inherited
b2Joint
 Inherited
b2Joint
  
b2GearJoint
  
b2GearJoint
  
b2GearJoint
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_constantproperty
public var m_constant:Number
m_ground1property 
public var m_ground1:b2Body
m_ground2property 
public var m_ground2:b2Body
m_groundAnchor1property 
public var m_groundAnchor1:b2Vec2
m_groundAnchor2property 
public var m_groundAnchor2:b2Vec2
m_impulseproperty 
public var m_impulse:Number
m_Jproperty 
public var m_J:b2Jacobian
m_localAnchor1property 
public var m_localAnchor1:b2Vec2
m_localAnchor2property 
public var m_localAnchor2:b2Vec2
m_massproperty 
public var m_mass:Number
m_prismatic1property 
public var m_prismatic1:b2PrismaticJoint
m_prismatic2property 
public var m_prismatic2:b2PrismaticJoint
m_ratioproperty 
public var m_ratio:Number
m_revolute1property 
public var m_revolute1:b2RevoluteJoint
m_revolute2property 
public var m_revolute2:b2RevoluteJoint
Constructor detail
b2GearJoint()constructor
public function b2GearJoint(def:b2GearJointDef)Parameters
def:b2GearJointDef
Method detail
GetAnchor1()method
public override function GetAnchor1():b2Vec2

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

Returns
b2Vec2
GetRatio()method 
public function GetRatio():Number

Returns
Number
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