stable collisions

This commit is contained in:
max
2026-09-03 17:27:52 +02:00
parent 815bd2d260
commit d8758f98dc
8 changed files with 151 additions and 452 deletions

View File

@@ -6,7 +6,7 @@ namespace PhysicsEngine
{
public static void Apply(Body body, float dt)
{
body.ApplyForce(Vector2.UnitY * 9.81f * body.Mass);
body.ApplyForce(Vector2.UnitY * 9.81f/10 * body.Mass);
}
}
}