PackageBox2DAS.Dynamics.Joints
Classpublic class b2PulleyJoint
Inheritanceb2PulleyJoint Inheritance b2Joint Inheritance b2EventDispatcher Inheritance b2Base Inheritance Object



Public Properties
 PropertyDefined By
  b2_minPulleyLength : Number = 0.1
[static]
b2PulleyJoint
 Inheritedbytes : ByteArray
[static]
b2Base
 Inheriteddispatcher : IEventDispatcher
b2EventDispatcher
 InheritedID : int
b2Joint
 Inheritedinitialized : Boolean = false
[static]
b2Base
 Inheritedlib : Object
[static]
b2Base
 Inheritedloader : CLibInit
[static]
b2Base
 Inheritedm_bodyA : b2Body
b2Joint
 Inheritedm_bodyB : b2Body
b2Joint
 Inheritedm_collideConnected : Boolean
b2Joint
  m_constant : Number
b2PulleyJoint
 Inheritedmem : MemUser
[static]
b2Base
  m_groundAnchor1 : b2Vec2
b2PulleyJoint
  m_groundAnchor2 : b2Vec2
b2PulleyJoint
  m_impulse : Number
b2PulleyJoint
 Inheritedm_islandFlag : Boolean
b2Joint
  m_limitImpulse1 : Number
b2PulleyJoint
  m_limitImpulse2 : Number
b2PulleyJoint
  m_limitMass1 : Number
b2PulleyJoint
  m_limitMass2 : Number
b2PulleyJoint
  m_limitState1 : int
b2PulleyJoint
  m_limitState2 : int
b2PulleyJoint
  m_localAnchor1 : b2Vec2
b2PulleyJoint
  m_localAnchor2 : b2Vec2
b2PulleyJoint
  m_maxLength1 : Number
b2PulleyJoint
  m_maxLength2 : Number
b2PulleyJoint
 Inheritedm_next : b2Joint
b2Joint
 Inheritedm_prev : b2Joint
b2Joint
  m_pulleyMass : Number
b2PulleyJoint
  m_ratio : Number
b2PulleyJoint
  m_state : int
b2PulleyJoint
 Inheritedm_type : int
b2Joint
  m_u1 : b2Vec2
b2PulleyJoint
  m_u2 : b2Vec2
b2PulleyJoint
 Inheritedm_userData : *
b2Joint
 Inheritedm_world : b2World
b2Joint
 Inherited_ptr : Number
b2Base
 Inheritedvalid : Boolean
[read-only] Does the object point to a C++ equivalent (i.e.
b2Base
Public Methods
 MethodDefined By
  
b2PulleyJoint(w:b2World, d:b2PulleyJointDef = null, ed:IEventDispatcher = null)
b2PulleyJoint
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
b2EventDispatcher
 Inherited
deref(adr:int):*
[static] dereference a C++ pointer or AS3_Val that is pointing to an AS3 object.
b2Base
 Inherited
destroy():void
[override]
b2Joint
 Inherited
dispatchEvent(evt:Event):Boolean
b2EventDispatcher
 Inherited
EnableLimit(flag:Boolean):void
b2Joint
 Inherited
EnableMotor(v:Boolean):void
b2Joint
  
[override]
b2PulleyJoint
  
[override]
b2PulleyJoint
 Inherited
getArr():Array
[static]
b2Base
 Inherited
b2Joint
 Inherited
b2Joint
 Inherited
b2Joint
 Inherited
GetFrequency():Number
b2Joint
  
b2PulleyJoint
  
b2PulleyJoint
  
GetLength1():Number
b2PulleyJoint
  
GetLength2():Number
b2PulleyJoint
 Inherited
GetLowerLimit():Number
b2Joint
 Inherited
b2Joint
 Inherited
b2Joint
 Inherited
GetMotorSpeed():Number
b2Joint
 Inherited
b2Joint
  
GetRatio():Number
b2PulleyJoint
  
GetReactionForce(inv_dt:Number):V2
[override]
b2PulleyJoint
  
GetReactionTorque(inv_dt:Number):Number
[override]
b2PulleyJoint
 Inherited
GetType():int
b2Joint
 Inherited
GetUpperLimit():Number
b2Joint
 Inherited
b2Joint
 Inherited
hasEventListener(type:String):Boolean
b2EventDispatcher
 Inherited
initialize(defs:Boolean = true):void
[static] Initialize the C++ module.
b2Base
 Inherited
IsLimitEnabled():Boolean
b2Joint
 Inherited
IsMotorEnabled():Boolean
b2Joint
 Inherited
readVertices(adr:int, num:int):Vector.<V2>
Read C++ memory and convert it into a vertex array.
b2Base
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
b2EventDispatcher
 Inherited
SetDampingRatio(v:Number):void
b2Joint
 Inherited
SetFrequency(v:Number):void
b2Joint
 Inherited
SetLimits(lower:Number, upper:Number):void
b2Joint
 Inherited
SetLowerLimit(l:Number):void
b2Joint
 Inherited
SetMaxMotorForce(v:Number):void
b2Joint
 Inherited
SetMaxMotorTorque(v:Number):void
b2Joint
 Inherited
SetMotorSpeed(v:Number):void
b2Joint
 Inherited
SetUpperLimit(l:Number):void
b2Joint
 Inherited
SetUserData(data:*):void
b2Joint
 Inherited
WakeUp():void
b2Joint
 Inherited
willTrigger(type:String):Boolean
b2EventDispatcher
 Inherited
writeVertices(adr:int, v:Vector.<V2>):void
Write a vertex array of the format [new V2(x,y), new V2(x,y), ...] to C++ memory.
b2Base
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_fixedJoint : int = 8
[static]
b2Joint
 Inheritede_gearJoint : int = 6
[static]
b2Joint
 Inheritede_inactiveLimit : int = 0
[static]
b2Joint
 Inheritede_lineJoint : int = 7
[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
b2_minPulleyLengthproperty
public static var b2_minPulleyLength:Number = 0.1

m_constantproperty 
m_constant:Number


Implementation
    public function get m_constant():Number
    public function set m_constant(value:Number):void
m_groundAnchor1property 
public var m_groundAnchor1:b2Vec2

m_groundAnchor2property 
public var m_groundAnchor2:b2Vec2

m_impulseproperty 
m_impulse:Number


Implementation
    public function get m_impulse():Number
    public function set m_impulse(value:Number):void
m_limitImpulse1property 
m_limitImpulse1:Number


Implementation
    public function get m_limitImpulse1():Number
    public function set m_limitImpulse1(value:Number):void
m_limitImpulse2property 
m_limitImpulse2:Number


Implementation
    public function get m_limitImpulse2():Number
    public function set m_limitImpulse2(value:Number):void
m_limitMass1property 
m_limitMass1:Number


Implementation
    public function get m_limitMass1():Number
    public function set m_limitMass1(value:Number):void
m_limitMass2property 
m_limitMass2:Number


Implementation
    public function get m_limitMass2():Number
    public function set m_limitMass2(value:Number):void
m_limitState1property 
m_limitState1:int


Implementation
    public function get m_limitState1():int
    public function set m_limitState1(value:int):void
m_limitState2property 
m_limitState2:int


Implementation
    public function get m_limitState2():int
    public function set m_limitState2(value:int):void
m_localAnchor1property 
public var m_localAnchor1:b2Vec2

m_localAnchor2property 
public var m_localAnchor2:b2Vec2

m_maxLength1property 
m_maxLength1:Number


Implementation
    public function get m_maxLength1():Number
    public function set m_maxLength1(value:Number):void
m_maxLength2property 
m_maxLength2:Number


Implementation
    public function get m_maxLength2():Number
    public function set m_maxLength2(value:Number):void
m_pulleyMassproperty 
m_pulleyMass:Number


Implementation
    public function get m_pulleyMass():Number
    public function set m_pulleyMass(value:Number):void
m_ratioproperty 
m_ratio:Number


Implementation
    public function get m_ratio():Number
    public function set m_ratio(value:Number):void
m_stateproperty 
m_state:int


Implementation
    public function get m_state():int
    public function set m_state(value:int):void
m_u1property 
public var m_u1:b2Vec2

m_u2property 
public var m_u2:b2Vec2

Constructor Detail
b2PulleyJoint()Constructor
public function b2PulleyJoint(w:b2World, d:b2PulleyJointDef = null, ed:IEventDispatcher = null)



Parameters
w:b2World
 
d:b2PulleyJointDef (default = null)
 
ed:IEventDispatcher (default = null)
Method Detail
GetAnchorA()method
override public function GetAnchorA():V2

Returns
V2
GetAnchorB()method 
override public function GetAnchorB():V2

Returns
V2
GetGroundAnchor1()method 
public function GetGroundAnchor1():V2

Returns
V2
GetGroundAnchor2()method 
public function GetGroundAnchor2():V2

Returns
V2
GetLength1()method 
public function GetLength1():Number

Returns
Number
GetLength2()method 
public function GetLength2():Number

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

Returns
Number
GetReactionForce()method 
override public function GetReactionForce(inv_dt:Number):V2

Parameters

inv_dt:Number

Returns
V2
GetReactionTorque()method 
override public function GetReactionTorque(inv_dt:Number):Number

Parameters

inv_dt:Number

Returns
Number