basically, this new more realistic physics and gravity system tries to simulate real-life physics as much as possible
I need feedback on this so i can improve it. Here are the current features of this new improved and more realistic physics system:
-
material densities: think of this as how heavy different materials are. for example, metal is heavier than wood
-
coefficient of restitution (cor): Fancy term for how bouncy something is. for example, a rubber ball is more bouncy than a lump of clay.
-
air density and drag coefficient: these are used to calculate how much air resistance there is when something is falling. this is why a feather falls slower than a stone.
-
terminal velocity: this is the fastest speed something can reach when falling. my system calculates this for each part based on its size and weight.
-
friction: this is what slows things down when they slide on a surface. my system applies this to each part
-
custom physical properties: my system sets the density of each part based on its weight
-
bodyforce: my system applies a force to each part that’s equal to the part’s weight times the gravity
-
collision response: my system changes the speeds of two parts when they collide based on their weights and how bouncy the material of the part that was hit is
Keep in mind that this is still under heavy development, and a lot, A LOT of things arent fully finished or bug-free! and stuff can interact weirdly with others
Heres an example video:
[It has been used in one of my projects and i cannot share it to anyone else. However, i will be making a LITE version pretty soon.]