Module bevy_xpbd_3d::plugins::solver
source · Expand description
Solves positional and angular constraints, updates velocities and solves velocity constraints (dynamic friction, restitution and joint damping).
See SolverPlugin
.
Structs§
- Stores penetration constraints for colliding entity pairs.
- Solves positional and angular constraints, updates velocities and solves velocity constraints (dynamic friction and restitution and joint damping).
Functions§
- Applies velocity corrections caused by joint damping.
- Iterates through the constraints of a given type and solves them. Sleeping bodies are woken up when active bodies interact with them in a constraint.