Property | Type | Description | |
---|---|---|---|
DampingRatio | float | ||
FrequencyHz | float | ||
Length | float | ||
LocalAnchorA | |||
LocalAnchorB |
Method | Description | |
---|---|---|
DistanceJointDef ( ) : Box2D.Common | ||
Initialize ( Body b1, Body b2, |
Initialize the bodies, anchors, and length using the world anchors.
|
public Initialize ( Body b1, Body b2, |
||
b1 | Body | First body |
b2 | Body | Second body |
anchor1 | World anchor on first body | |
anchor2 | World anchor on second body | |
return | void |