I have a very simple sim, just a box tumbling/bouncing down a ramp. I use Bullet, but I could use RBD. What's the easiest way to extract collision locations, i.e. the exact spots where the box (its corner or edge) touches the ramp?
You can extract collision locations by using collision events in Bullet or RBD, and then recording the contact points from the collision data in your simulation.