Avian Physics 0.4
a day ago
- #bevy
- #physics-engine
- #rust
- Avian Physics 0.4 released with significant performance improvements and new features.
- Performance improvements include a 3x speed increase and better multi-core scaling.
- New features: Solver bodies, graph coloring for multi-threading, simulation islands for sleeping/waking, force overhaul, joint improvements, voxel colliders, and Bevy 0.17 support.
- Solver bodies optimize cache locality and prepare for wide SIMD support.
- Graph coloring enables parallel constraint solving without race conditions.
- Simulation islands improve sleeping and waking systems for large game worlds.
- Force APIs redesigned for better ergonomics and modularity.
- Joint improvements include reference frames, damping, forces, and collision disabling.
- Voxel colliders added for efficient representation of volumetric data like Minecraft worlds.
- Bevy 0.17 support includes updated collision events and system set naming conventions.
- Contact API improvements provide world-space points, normal speeds, and accurate impulses.
- New benchmarking CLI tool for profiling performance and multi-threaded scaling.
- Future work includes wide SIMD, improved multi-threading, BVH broad phase, Peck collision detection, CoACD convex decomposition, and a new joint solver.