Conservation of momentum and energy.
I've noticed that the physics engine in Unity (and most game engines) is sensitive to large forces combined with collisions. For example setting up a piston system which collides with something connected to itself. This often results in explosion like symptoms. I was wondering if there's any way to keep the energy and momentum of the system constant. Basically I want to add a step in the physics engine which checks to make sure the energy and momentum hasn't changed, and if it has it corrects for this. Ideally I would like to add the energy and momentum constraint into the differential equation physics solver, but I'm guessing that's not an option. Has something like this been done?
Your answer
![](https://koobas.hobune.stream/wayback/20220612191112im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How do I get an object's velocity in one direction? 4 Answers
AddForce and Momentum 1 Answer
C# Trying to make SnowBoarding Like Physics 0 Answers