Package org.jbox2d.dynamics
Class TimeStep
java.lang.Object
org.jbox2d.dynamics.TimeStep
This is an internal structure.
- Author:
- Daniel Murphy
-
Field Summary
FieldsModifier and TypeFieldDescriptionfloatThe time step.floatdt * inverseDtfloatThe inverse time step (0 if dt == 0).intThe number of iterations in the position phase of the constraint solver.intThe number of iterations in the velocity phase of the constraint solver.boolean -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
dt
public float dtThe time step. -
inverseDt
public float inverseDtThe inverse time step (0 if dt == 0). -
dtRatio
public float dtRatiodt * inverseDt -
velocityIterations
public int velocityIterationsThe number of iterations in the velocity phase of the constraint solver. -
positionIterations
public int positionIterationsThe number of iterations in the position phase of the constraint solver. -
warmStarting
public boolean warmStarting
-
-
Constructor Details
-
TimeStep
public TimeStep()
-