Overview
Constraint projection adjusts positions, velocities, or generalized coordinates after an unconstrained update so constraints such as distances, contacts, or joints are satisfied more closely.
Enforces simulation constraints by projecting invalid state back onto the allowed manifold.
Compact metadata for implementation and discovery.
Constraint projection adjusts positions, velocities, or generalized coordinates after an unconstrained update so constraints such as distances, contacts, or joints are satisfied more closely.
Quick facts
Runtime and memory behavior at a glance.
Best
O(constraints)
Average
O(iterations * constraints)
Worst
O(iterations * constraints)
Space
O(state)
delta_x = -C(x) / ||gradient C(x)||^2 * gradient C(x)Moves positions to reduce constraint error.
Show state updates, constraints, and error correction over simulation steps.
Projection is a stabilization tool; it should expose tolerance and iteration limits.
What each reference supports for this entry.
Collision detection reference for the geometric or broad-phase/narrow-phase behavior of Constraint Projection.
Good next jumps from the relationship graph, ranked for useful discovery.
Simulation · Core
Both correct constraint errors iteratively, though sequential impulses work primarily through velocity-level impulses.
Compare with thisPBD uses projection to satisfy constraints on positions.
Constraint projection is commonly iterated in Verlet-style solvers.