Module xpbd_solver
Expand description
64 Hz Deterministic XPBD Rigid-Body Solver (xpbd_solver.rs).
Implements RigidBody3D (Dynamic, Static, KinematicPosition, KinematicVelocity) with
PGA Motor poses, inverse mass and inertia tensor, restitution, Coulomb friction, sleeping
states, and an Extended Position-Based Dynamics (XPBD) + sequential impulse contact solver.
Structs§
- Rigid
Body3D - 3D rigid body with PGA
Motorpose and physical properties (HotZeroHeap).
Enums§
- Rigid
Body Type3D - Kinematic / dynamic simulation class of a 3D rigid body.
Functions§
- step_
xpbd_ world - Steps a slice of
RigidBody3Dbodies, contact manifolds, andMotorJoint3Dconstraints by one fixed timestepdt(typically $1/64 = 0.015625\text{ s}$) usingsubstepsXPBD iterations.