ScratchData LogoScratchData
Back to Java_Programmer's profile

Sloppy Physics Engine

JAJava_Programmer•Created August 2, 2018
Sloppy Physics Engine
199
145
3286 views
View on Scratch

Instructions

Click and drag to add a small circle at the mouse pointer. Far from perfect, but enjoy! :) If it helps, just weigh down the unnaturally bouncy boxes with a ton of circles.

Description

Sooo... this is a little sloppy. And unfinished. Just a bit. But, it's the closest I've ever gotten to a legitimate physics engine, so I felt like sharing it anyway. For the time being, rectangles can't collide with each other (and they bounce way more than they should, which I'm not sure why). I tried to make the engine using my More Collision Detection project, but after facing several issues, I'll just start over and follow the Java code that @griffpatch used for his engine: https://github.com/ClickerMonkey/ImpulseEngine Honestly, I've done tons of research and tried my best to understand how these physics engines work, and I think I get the ideas behind them, but implementing one has been such a struggle... but I'm not giving up yet!

Project Details

Project ID238067044
CreatedAugust 2, 2018
Last ModifiedAugust 23, 2021
SharedAugust 3, 2018
Visibilityvisible
CommentsAllowed