Method | Description | |
---|---|---|
DebugDraw ( IDebugDrawer drawer ) : void | ||
Iterate ( ) : void |
Iteratively solve this constraint.
|
|
PrepareForIteration ( float timestep ) : void |
Called once before iteration starts.
|
|
Spring ( RigidBody body1, RigidBody body2 ) : System |
Initializes a new instance of the DistanceConstraint class.
|
public DebugDraw ( IDebugDrawer drawer ) : void | ||
drawer | IDebugDrawer | |
return | void |
public PrepareForIteration ( float timestep ) : void | ||
timestep | float | The 5simulation timestep |
return | void |
public Spring ( RigidBody body1, RigidBody body2 ) : System | ||
body1 | RigidBody | The first body. |
body2 | RigidBody | The second body. |
return | System |