Skip to main content

step_spring

Function step_spring 

Source
pub fn step_spring(
    state: SpringState,
    model: DrivenSpring,
    dt: f64,
) -> SolverResult<SpringState>
Expand description

One admitted response interval, internally substepped by the shared solver. Hard travel/speed constraints are projected after integration. Contact initialization/teleport policy belongs to the caller and can bypass this.