Macklin, MilesErleben, KennyMüller, MatthiasChentanez, NuttapongJeschke, StefanKim, Tae-YongBender, Jan and Popa, Tiberiu2020-10-162020-10-1620201467-8659https://doi.org/10.1111/cgf.14104https://diglib.eg.org:443/handle/10.1111/cgf14104We examine the relationship between primal, or force-based, and dual, or constraint-based formulations of dynamics. Variational frameworks such as Projective Dynamics have proved popular for deformable simulation, however they have not been adopted for contact-rich scenarios such as rigid body simulation. We propose a new preconditioned frictional contact solver that is compatible with existing primal optimization methods, and competitive with complementarity-based approaches. Our relaxed primal model generates improved contact force distributions when compared to dual methods, and has the advantage of being differentiable, making it well-suited for trajectory optimization. We derive both primal and dual methods from a common variational point of view, and present a comprehensive numerical analysis of both methods with respect to conditioning. We demonstrate our method on scenarios including rigid body contact, deformable simulation, and robotic manipulation.Computing methodologiesSimulation by animationInteractive simulationComputer systems organizationRoboticsPrimal/Dual Descent Methods for Dynamics10.1111/cgf.1410489-100