PackageBox2DAS.Dynamics.Joints
Classpublic class b2PulleyJointDef
Inheritanceb2PulleyJointDef Inheritance b2JointDef Inheritance b2Base Inheritance Object



Public Properties
 PropertyDefined By
 Inheritedactor1 : int
b2JointDef
 Inheritedactor2 : int
b2JointDef
 Inheritedanchor1 : String
b2JointDef
 Inheritedanchor2 : String
b2JointDef
 Inherited_bodyA : b2Body
b2JointDef
 InheritedbodyA : b2Body
b2JointDef
 Inherited_bodyB : b2Body
b2JointDef
 InheritedbodyB : b2Body
b2JointDef
 Inheritedbytes : ByteArray
[static]
b2Base
 InheritedCENTER : String = center
[static]
b2JointDef
 InheritedcollideConnected : Boolean
b2JointDef
  groundAnchorA : b2Vec2
b2PulleyJointDef
  groundAnchorB : b2Vec2
b2PulleyJointDef
 InheritedID : int
b2JointDef
 Inheritedinitialized : Boolean = false
[static]
b2Base
  lengthA : Number
b2PulleyJointDef
  lengthB : Number
b2PulleyJointDef
 Inheritedlib : Object
[static]
b2Base
 Inheritedloader : CLibInit
[static]
b2Base
  localAnchorA : b2Vec2
b2PulleyJointDef
  localAnchorB : b2Vec2
b2PulleyJointDef
  maxLengthA : Number
b2PulleyJointDef
  maxLengthB : Number
b2PulleyJointDef
 Inheritedmem : MemUser
[static]
b2Base
 Inheritedname : String
b2JointDef
 Inherited_ptr : Number
b2Base
  ratio : Number
b2PulleyJointDef
 Inheritedtype : int
b2JointDef
 InheriteduserData : *
b2JointDef
 Inheritedvalid : Boolean
[read-only] Does the object point to a C++ equivalent (i.e.
b2Base
Public Methods
 MethodDefined By
  
b2PulleyJointDef
 Inherited
create(w:b2World, ed:IEventDispatcher = null):b2Joint
b2JointDef
 Inherited
deref(adr:int):*
[static] dereference a C++ pointer or AS3_Val that is pointing to an AS3 object.
b2Base
  
destroy():void
[override]
b2PulleyJointDef
 Inherited
getArr():Array
[static]
b2Base
 Inherited
initialize(defs:Boolean = true):void
[static] Initialize the C++ module.
b2Base
  
Initialize(b1:b2Body, b2:b2Body, ga1:V2, ga2:V2, anchorA:V2, anchorB:V2, r:Number):void
b2PulleyJointDef
 Inherited
readVertices(adr:int, num:int):Vector.<V2>
Read C++ memory and convert it into a vertex array.
b2Base
 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
Property Detail
groundAnchorAproperty
public var groundAnchorA:b2Vec2

groundAnchorBproperty 
public var groundAnchorB:b2Vec2

lengthAproperty 
lengthA:Number


Implementation
    public function get lengthA():Number
    public function set lengthA(value:Number):void
lengthBproperty 
lengthB:Number


Implementation
    public function get lengthB():Number
    public function set lengthB(value:Number):void
localAnchorAproperty 
public var localAnchorA:b2Vec2

localAnchorBproperty 
public var localAnchorB:b2Vec2

maxLengthAproperty 
maxLengthA:Number


Implementation
    public function get maxLengthA():Number
    public function set maxLengthA(value:Number):void
maxLengthBproperty 
maxLengthB:Number


Implementation
    public function get maxLengthB():Number
    public function set maxLengthB(value:Number):void
ratioproperty 
ratio:Number


Implementation
    public function get ratio():Number
    public function set ratio(value:Number):void
Constructor Detail
b2PulleyJointDef()Constructor
public function b2PulleyJointDef()



Method Detail
destroy()method
override public function destroy():void

Initialize()method 
public function Initialize(b1:b2Body, b2:b2Body, ga1:V2, ga2:V2, anchorA:V2, anchorB:V2, r:Number):void

Parameters

b1:b2Body
 
b2:b2Body
 
ga1:V2
 
ga2:V2
 
anchorA:V2
 
anchorB:V2
 
r:Number