This is what StuffMadeHere used in his latest video to simulate a mini-golf course! https://www.youtube.com/watch?v=2OfjZ3ORJfc&t=368s
The physics engine I'm using is called MuJoCo. And if you're wondering why I didn't write my own physics engine, it's basically because I don't have 20 years.
That the calibration got the simulation so close to reality was quite impressive.