C# Class Jitter.Dynamics.SoftBody.Spring

Inheritance: Constraint
Mostrar archivo Open project: tpb3d/TPB3D

Public Methods

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.

Method Details

DebugDraw() public method

public DebugDraw ( IDebugDrawer drawer ) : void
drawer IDebugDrawer
return void

Iterate() public method

Iteratively solve this constraint.
public Iterate ( ) : void
return void

PrepareForIteration() public method

Called once before iteration starts.
public PrepareForIteration ( float timestep ) : void
timestep float The 5simulation timestep
return void

Spring() public method

Initializes a new instance of the DistanceConstraint class.
public Spring ( RigidBody body1, RigidBody body2 ) : System
body1 RigidBody The first body.
body2 RigidBody The second body.
return System