
Verlet-Based Physics Engine
by aespibr
Description
It's not too hard to comprehend, basically the dots use something called "Verlet Integration" (pronounced ver-ley) to update their positions. The sticks, well, they use a lot of math, but they do their job. For anyone wondering about simulating rigid bodies, it is impossible (like in real life), but if you update the sticks enough in between frames then you can get pretty close. UPDATES: 11/28/21: Added ground friction for the ceiling
Instructions
ATTENTION! If this project lags, go here: https://turbowarp.org/607913778/ Part 2 has been released: https://turbowarp.org/858024125/ Normies: Click and drag to throw the squishy square. Change the air friction, ground friction, and gravity. Remixers: Use the "add dot" and "add stick" blocks to make your own shapes. Look inside the project for more details. Also, when specifying the startPoint and endPoint for a stick, use the index of the dot in the lists such as "dot x" and "dot y".
Project Details
- Visibility
- Visible
- Comments
- Enabled
More Cool Projects

Geometry Dash Unity
by iPhone_ATT_TWC115

Beat up Edward 8! remix
by Draven1205

(FIXES) Sonic The Hedgehog HD TEST
by Coryxstreem

Windows 10 #OS (WIP)
by scratch-user-18473

fnati 5.0 jumpscares
by ShadowLords691

|| HBD!!&Best!! || Intro#46 ➤ 1nfz.
by Oolongtea_

One Night At Puffy's CrabShack-Opening-V2.0
by BisketDog

My Interactive Spanish Alphabet Lore (FIXED)
by remynoodle

Beat Up Timmy (5 new buttons) but it's derpy
by danny_alekseev

Beat up my friend (destroy day y friend)
by Lightning_Splash3

My take of Spanish Alphabet Lore.
by NJPHLLSH2008

Rhythm Heaven Remix Creator
by maxywaxepic

Endless alphabet OC LOT
by splashyideas

Add Yourself Beat Up Mega Man Fully Charge Hater & Ruby-Kun (4) remix
by LamarFan2008

Beat up P again
by paata27747438

flag band but the comments change it
by BBTLEOfficialScratch

crankyboyc beat ups 1002 projects special
by peggraz51

☁️ Getting Over It Multiplayer Edition 4.2
by JonnyDA7

Three Episode 3 Argam Lore
by RandomStuffUser

Fight Cloud Add Round 23 remix-2
by XavierRDL

Scratch Fighter v.1.1
by zohsama

Beat up Bonzi buddy 3 (5)
by pmz34

Space comparison - size
by nick-name14

Candybots 123
by stang999