Consider applying 3D friction at manifold center and using twist friction #588
Labels
A-Dynamics
Relates to rigid body dynamics: motion, mass, constraint solving, joints, CCD, and so on
C-Performance
Improvements or questions related to performance
Currently, Avian applies friction at every contact point.
A common optimization for 3D friction is to only apply friction at the center of each contact manifold, weighing the points based on penetration depth. This could yield noticeable performance savings for manifolds with several contact points. However, applying friction at the center also requires an additional twist friction.
Some engines do this (Bepu, and Bullet I think) and some don't seem to (Rapier and Jolt). We should try both and experiment.
Prior Art
The text was updated successfully, but these errors were encountered: