| Package | Box2D.Dynamics.Joints |
| Class | public class b2DistanceJointDef |
| Inheritance | b2DistanceJointDef b2JointDef Object |
| Property | Defined By | ||
|---|---|---|---|
![]() | body1 : b2Body | b2JointDef | |
![]() | body2 : b2Body | b2JointDef | |
![]() | collideConnected : Boolean | b2JointDef | |
| dampingRatio : Number | b2DistanceJointDef | ||
| frequencyHz : Number | b2DistanceJointDef | ||
| length : Number | b2DistanceJointDef | ||
| localAnchor1 : b2Vec2 | b2DistanceJointDef | ||
| localAnchor2 : b2Vec2 | b2DistanceJointDef | ||
![]() | type : int | b2JointDef | |
![]() | userData : * | b2JointDef | |
| Method | Defined By | ||
|---|---|---|---|
| b2DistanceJointDef | |||
| b2DistanceJointDef | |||
| dampingRatio | property |
public var dampingRatio:Number| frequencyHz | property |
public var frequencyHz:Number| length | property |
public var length:Number| localAnchor1 | property |
public var localAnchor1:b2Vec2| localAnchor2 | property |
public var localAnchor2:b2Vec2| b2DistanceJointDef | () | Constructor |
public function b2DistanceJointDef()| Initialize | () | method |
public function Initialize(b1:b2Body, b2:b2Body, anchor1:b2Vec2, anchor2:b2Vec2):voidParameters
b1:b2Body | |
b2:b2Body | |
anchor1:b2Vec2 | |
anchor2:b2Vec2 |