Expand description
The physics solver responsible for simulating rigid body dynamics, contacts, and joints.
See SolverPlugins
for a plugin group that contains Avian’s default solver plugins.
Modules§
- constraint_
graph - A
ConstraintGraph
with graph coloring for solving constraints in parallel. - contact
- Constraints and other types used for solving contacts.
- islands
- Persistent simulation islands for sleeping and waking.
- joint_
graph - A
JointGraph
for tracking how rigid bodies are connected by joints. - schedule
- Sets up the default scheduling, system set configuration, and time resources for the physics solver and substepping loop.
- softness_
parameters - Soft constraints are spring-like constraints that dampen constraint responses using intuitive tuning parameters, a damping ratio and a frequency in Hertz.
- solver_
body - Efficient rigid body definitions used by the performance-critical solver.
Structs§
- Contact
Constraints - A resource that stores the contact constraints.
- Contact
Softness Coefficients - The
SoftnessCoefficients
used for contacts. - Physics
Length Unit - A units-per-meter scaling factor that adjusts the engine’s internal properties to the scale of the world.
- Solver
Config - Configuration parameters for the constraint solver that handles things like contacts and joints.
- Solver
Diagnostics - Diagnostics for the physics solver.
- Solver
Plugin - Manages and solves contacts, joints, and other constraints.
- Solver
Plugins - A plugin group that contains Avian’s default solver plugins.
Functions§
- joint_
damping - Applies velocity corrections caused by joint damping.