Hi Guys,
I want to see the the calculations that make up Unity’s 3D physics (Excluding collisions). I want to understand exactly what it’s made out of, to see how true to life the calculations are. I know no physics engine is, so I’d like to know what calculations it’s including and excluding.
Particularly I’d love to see the calculations behind drag, angularDrag, and mass. What exactly goes into a rigidbody’s Update, whether I can modify data going in, and how it’s calculated. I want to create some accurate simulations, updating the drag and angular drag by mesh shape, mass, barometric pressure, humidity, air temperature, wind speed, ect.
For my calculations to definitely be correct I need to see every calculation that goes into them. I may possibly just ignore Unity’s physics engine entirely and make all the calculations myself, but it’d be great if I could work into the existing engine, and would love to know more about it anyways.
Is there any source it comes from that I can read about, and how Unity’s implemented/affected it?
Thanks!