PackageBox2D.Dynamics.Joints
Classpublic class b2DistanceJointDef
Inheritanceb2DistanceJointDef Inheritance b2JointDef Inheritance Object



Public Properties
 PropertyDefined By
 Inheritedbody1 : b2Body
b2JointDef
 Inheritedbody2 : b2Body
b2JointDef
 InheritedcollideConnected : Boolean
b2JointDef
  dampingRatio : Number
b2DistanceJointDef
  frequencyHz : Number
b2DistanceJointDef
  length : Number
b2DistanceJointDef
  localAnchor1 : b2Vec2
b2DistanceJointDef
  localAnchor2 : b2Vec2
b2DistanceJointDef
 Inheritedtype : int
b2JointDef
 InheriteduserData : *
b2JointDef
Public Methods
 MethodDefined By
  
b2DistanceJointDef
  
Initialize(b1:b2Body, b2:b2Body, anchor1:b2Vec2, anchor2:b2Vec2):void
b2DistanceJointDef
Property Detail
dampingRatioproperty
public var dampingRatio:Number

frequencyHzproperty 
public var frequencyHz:Number

lengthproperty 
public var length:Number

localAnchor1property 
public var localAnchor1:b2Vec2

localAnchor2property 
public var localAnchor2:b2Vec2

Constructor Detail
b2DistanceJointDef()Constructor
public function b2DistanceJointDef()



Method Detail
Initialize()method
public function Initialize(b1:b2Body, b2:b2Body, anchor1:b2Vec2, anchor2:b2Vec2):void

Parameters

b1:b2Body
 
b2:b2Body
 
anchor1:b2Vec2
 
anchor2:b2Vec2