PackageBox2D.Dynamics.Joints
Classpublic class b2GearJoint
Inheritanceb2GearJoint Inheritance b2Joint Inheritance Object



Public Properties
 PropertyDefined By
 Inheritedm_body1 : b2Body
b2Joint
 Inheritedm_body2 : b2Body
b2Joint
 Inheritedm_collideConnected : Boolean
b2Joint
  m_constant : Number
b2GearJoint
  m_force : Number
b2GearJoint
  m_ground1 : b2Body
b2GearJoint
  m_ground2 : b2Body
b2GearJoint
  m_groundAnchor1 : b2Vec2
b2GearJoint
  m_groundAnchor2 : b2Vec2
b2GearJoint
 Inheritedm_inv_dt : Number
b2Joint
 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 : b2JointEdge
b2Joint
 Inheritedm_node2 : b2JointEdge
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
  
[override]
b2GearJoint
  
[override]
b2GearJoint
 Inherited
b2Joint
 Inherited
b2Joint
 Inherited
b2Joint
  
GetRatio():Number
b2GearJoint
  
[override]
b2GearJoint
  
[override]
b2GearJoint
 Inherited
GetType():int
b2Joint
 Inherited
b2Joint
 Inherited
b2Joint
  
[override]
b2GearJoint
 Inherited
SetUserData(data:*):void
b2Joint
  
[override]
b2GearJoint
  
[override]
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_forceproperty 
public var m_force: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_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
override public function GetAnchor1():b2Vec2

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

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

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

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

Returns
Number
InitVelocityConstraints()method 
override public function InitVelocityConstraints(step:b2TimeStep):void

Parameters

step:b2TimeStep

SolvePositionConstraints()method 
override public function SolvePositionConstraints():Boolean

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

Parameters

step:b2TimeStep