Brain-Score 80/100 TECH TheSandwichCoder · 21:44

I made Soft Body Physics from Scratch

3-Second Blueprint (English)

  1. Deformable 2D soft bodies can be simulated via shape-matching around mean vertex position and angle, though undamped shapes spin.
  2. Point-in-polygon ray casting detects inter-body vertex penetration more simply than Separating Axis Theorem (SAT) on deforming meshes.
  3. Porting the Python prototype to Rust and the Bevy engine enabled stable 100-substep real-time simulation for playable soft-body Tetris.
RustBevy EnginePythonRay-Cast CollisionSoft-Body Simulation

3-Sekunden-Fazit (Deutsch)

  1. Verformbare 2D-Soft-Bodies lassen sich über mittlere Vertexposition und Winkel simulieren, rotieren ohne Dämpfung jedoch instabil.
  2. Raycasting prüft Vertex-Eindringung bei verformten Polygonen deutlich einfacher als das Separating Axis Theorem (SAT).
  3. Die Portierung von Python auf Rust mit der Bevy-Engine ermöglichte 100 Simulationsschritte in Echtzeit für Soft-Body-Tetris.
RustBevy EnginePythonRaycasting-KollisionSoft-Body-Simulation

Note / Hinweis: Blueprints are AI-generated educational summaries (0% Politics · 0% Religion · 0% Brainrot) and do not constitute medical, legal, or financial advice. / KI-generierte Zusammenfassung zu Bildungszwecken – ersetzt keine medizinische, rechtliche oder finanzielle Fachberatung.