PackageBox2DAS.Dynamics.Joints
Classpublic class b2RevoluteJoint
Inheritanceb2RevoluteJoint Inheritance b2Joint Inheritance b2EventDispatcher Inheritance b2Base Inheritance Object



Public Properties
 PropertyDefined By
 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
 Inheritedmem : MemUser
[static]
b2Base
  m_enableLimit : Boolean
b2RevoluteJoint
  m_enableMotor : Boolean
b2RevoluteJoint
  m_impulse : b2Vec3
b2RevoluteJoint
 Inheritedm_islandFlag : Boolean
b2Joint
  m_limitState : int
b2RevoluteJoint
  m_localAnchor1 : b2Vec2
b2RevoluteJoint
  m_localAnchor2 : b2Vec2
b2RevoluteJoint
  m_lowerAngle : Number
b2RevoluteJoint
  m_maxMotorTorque : Number
b2RevoluteJoint
  m_motorImpulse : Number
b2RevoluteJoint
  m_motorMass : Number
b2RevoluteJoint
  m_motorSpeed : Number
b2RevoluteJoint
 Inheritedm_next : b2Joint
b2Joint
 Inheritedm_prev : b2Joint
b2Joint
  m_referenceAngle : Number
b2RevoluteJoint
 Inheritedm_type : int
b2Joint
  m_upperAngle : Number
b2RevoluteJoint
 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
  
b2RevoluteJoint(w:b2World, d:b2RevoluteJointDef = null, ed:IEventDispatcher = null)
b2RevoluteJoint
 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
  
EnableLimit(flag:Boolean):void
[override]
b2RevoluteJoint
  
EnableMotor(flag:Boolean):void
[override]
b2RevoluteJoint
  
[override]
b2RevoluteJoint
  
[override]
b2RevoluteJoint
 Inherited
getArr():Array
[static]
b2Base
 Inherited
b2Joint
 Inherited
b2Joint
 Inherited
b2Joint
 Inherited
GetFrequency():Number
b2Joint
  
GetJointAngle():Number
b2RevoluteJoint
  
GetJointSpeed():Number
b2RevoluteJoint
  
GetLowerLimit():Number
[override]
b2RevoluteJoint
 Inherited
b2Joint
  
[override]
b2RevoluteJoint
  
GetMotorSpeed():Number
[override]
b2RevoluteJoint
  
b2RevoluteJoint
 Inherited
b2Joint
  
GetReactionForce(inv_dt:Number):V2
[override]
b2RevoluteJoint
  
GetReactionTorque(inv_dt:Number):Number
[override]
b2RevoluteJoint
 Inherited
GetType():int
b2Joint
  
GetUpperLimit():Number
[override]
b2RevoluteJoint
 Inherited
b2Joint
 Inherited
hasEventListener(type:String):Boolean
b2EventDispatcher
 Inherited
initialize(defs:Boolean = true):void
[static] Initialize the C++ module.
b2Base
  
IsLimitEnabled():Boolean
[override]
b2RevoluteJoint
  
IsMotorEnabled():Boolean
[override]
b2RevoluteJoint
 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
  
SetLimits(lower:Number, upper:Number):void
[override]
b2RevoluteJoint
  
SetLowerLimit(l:Number):void
[override]
b2RevoluteJoint
 Inherited
SetMaxMotorForce(v:Number):void
b2Joint
  
SetMaxMotorTorque(torque:Number):void
[override]
b2RevoluteJoint
  
SetMotorSpeed(speed:Number):void
[override]
b2RevoluteJoint
  
SetUpperLimit(l:Number):void
[override]
b2RevoluteJoint
 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
m_enableLimitproperty
m_enableLimit:Boolean


Implementation
    public function get m_enableLimit():Boolean
    public function set m_enableLimit(value:Boolean):void
m_enableMotorproperty 
m_enableMotor:Boolean


Implementation
    public function get m_enableMotor():Boolean
    public function set m_enableMotor(value:Boolean):void
m_impulseproperty 
public var m_impulse:b2Vec3

m_limitStateproperty 
m_limitState:int


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

m_localAnchor2property 
public var m_localAnchor2:b2Vec2

m_lowerAngleproperty 
m_lowerAngle:Number


Implementation
    public function get m_lowerAngle():Number
    public function set m_lowerAngle(value:Number):void
m_maxMotorTorqueproperty 
m_maxMotorTorque:Number


Implementation
    public function get m_maxMotorTorque():Number
    public function set m_maxMotorTorque(value:Number):void
m_motorImpulseproperty 
m_motorImpulse:Number


Implementation
    public function get m_motorImpulse():Number
    public function set m_motorImpulse(value:Number):void
m_motorMassproperty 
m_motorMass:Number


Implementation
    public function get m_motorMass():Number
    public function set m_motorMass(value:Number):void
m_motorSpeedproperty 
m_motorSpeed:Number


Implementation
    public function get m_motorSpeed():Number
    public function set m_motorSpeed(value:Number):void
m_referenceAngleproperty 
m_referenceAngle:Number


Implementation
    public function get m_referenceAngle():Number
    public function set m_referenceAngle(value:Number):void
m_upperAngleproperty 
m_upperAngle:Number


Implementation
    public function get m_upperAngle():Number
    public function set m_upperAngle(value:Number):void
Constructor Detail
b2RevoluteJoint()Constructor
public function b2RevoluteJoint(w:b2World, d:b2RevoluteJointDef = null, ed:IEventDispatcher = null)



Parameters
w:b2World
 
d:b2RevoluteJointDef (default = null)
 
ed:IEventDispatcher (default = null)
Method Detail
EnableLimit()method
override public function EnableLimit(flag:Boolean):void

Parameters

flag:Boolean

EnableMotor()method 
override public function EnableMotor(flag:Boolean):void

Parameters

flag:Boolean

GetAnchorA()method 
override public function GetAnchorA():V2

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

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

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

Returns
Number
GetLowerLimit()method 
override public function GetLowerLimit():Number

Returns
Number
GetMaxMotorTorque()method 
override public function GetMaxMotorTorque():Number

Returns
Number
GetMotorSpeed()method 
override public function GetMotorSpeed():Number

Returns
Number
GetMotorTorque()method 
public function GetMotorTorque():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
GetUpperLimit()method 
override public function GetUpperLimit():Number

Returns
Number
IsLimitEnabled()method 
override public function IsLimitEnabled():Boolean

Returns
Boolean
IsMotorEnabled()method 
override public function IsMotorEnabled():Boolean

Returns
Boolean
SetLimits()method 
override public function SetLimits(lower:Number, upper:Number):void

Parameters

lower:Number
 
upper:Number

SetLowerLimit()method 
override public function SetLowerLimit(l:Number):void

Parameters

l:Number

SetMaxMotorTorque()method 
override public function SetMaxMotorTorque(torque:Number):void

Parameters

torque:Number

SetMotorSpeed()method 
override public function SetMotorSpeed(speed:Number):void

Parameters

speed:Number

SetUpperLimit()method 
override public function SetUpperLimit(l:Number):void

Parameters

l:Number