Browse Search Popular Register Upload Rules User list Login:
Search:
there is something that i refuse to elaborate on explaining the previous comment i made:/
you could probably use rand.uniform01 instead of rand.normal or just math.sqrt(rand.normal ^ 2) to make it abs
i love this scene
oh its different
i dont have cord
oops, i misread it and replaced his legs with a car shock absorber:cry:
whats so special about 1081:s
how do i do taxes
did you low-key reveal your name
if i could see someone who knew me or someone in uniform
ah yes, the angel numbers:angel:
i suggest that you just learn thyme, it took me about ~6 months to master it.

also put in the desired balls object console, should look like ████████████ under Algodoo scripting is for advanced users only and is an unsupported feature. Use at own risk!

write _delay = 0; _rand = 0; poststep = (e)=>{
b := Palette.colorRangesHSVA(0);
g := [b(0)(0) + (b(0)(0) - b(1)(0)) * rand.uniform01, b(0)(1) + (b(0)(1) - b(1)(1)) * rand.uniform01, b(0)(2) + (b(0)(2) - b(1)(2)) * rand.uniform01, (b(0)(3) + b(1)(3)) / 2.0];
_delay > sim.time % (0.5 + (0.5 - 4.0) * _rand) ? {
colorhsva = g;
_rand = rand.uniform01
} : {};
_delay = sim.time % (0.5 + (0.5 - 4.0) * _rand)
}

for the 2nd one:
you need 2 global variables (or whatever)
add a box (the one you showed)
here is an example for the 1st ball having the variable scene.my.pos and the other having scene.my.pos1
poststep = (e)=>{
p0 := scene.my.pos //may change;
p1 := scene.my.pos1 //may change;
size = [math.vec.dist(p0, p1) + size(1), size(1)];
pos = (p0 + p1) * 0.5;
angle = math.atan2(p1(1) - p0(1), p1(0) - p0(0))
}

hope it helps

edit: i suggest using the chrome version of algobox since it'd be much easier to copy & paste instead of writing it manually
Last edited at 2026/06/17 11:28:53 by MIGDANALDS
bongle bingle
also steve mould used algodoo: http://www.youtube.com/sh … sEV7ryCJ9A
Last edited at 2026/06/18 10:31:49 by MIGDANALDS
previous | 1 … 14 15 16 | next