Browse Search Popular Register Upload Rules User list Login:
Search:
object eating red ball

Image:
screenshot of the scene

Author: Nugget

Group: Default

Filesize: 76.35 kB

Date added: 2024-08-31

Rating: 5

Downloads: 1135

Views: 194

Comments: 7

Ratings: 1

Times favored: 0

Made with: Algodoo v2.1.0

Tags:

Scene tag

Warning: may cause objects to undergo mitosis
s_noonan made the script, iirc it's from the Milling Cutter(?) scene
Last edited at 2024/09/01 07:31:37 by Nugget
Please log in to rate this scene
edit
Similar scenes
Title: Awesomecourse - Extended Version
Rating: 5
Filesize: 0.59 MB
Downloads: 582
Comments: 0
Ratings: 1
Date added: 2014/01/18 16:53:21
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Scripted Bomb
Rating: 5.8889
Filesize: 22.84 kB
Downloads: 1347
Comments: 4
Ratings: 3
Date added: 2010/03/08 17:10:15
Made with: Phun
Rating: rated 5.9
download
Title: Object Doom Episode 4 Eating the Most
Rating: 5
Filesize: 1.78 MB
Downloads: 591
Comments: 2
Ratings: 1
Date added: 2016/03/17 01:21:43
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Eco Engine Challenge - The Champion
Rating: 5
Filesize: 34.02 kB
Downloads: 461
Comments: 0
Ratings: 1
Date added: 2009/05/23 03:29:47
Made with: Phun
Rating: rated 5
download
Title: Snake eating
Rating: 5
Filesize: 19.06 kB
Downloads: 550
Comments: 1
Ratings: 1
Date added: 2016/12/14 17:09:58
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Thyme Paintball
Rating: 6.1111
Filesize: 3.23 kB
Downloads: 989
Comments: 3
Ratings: 3
Date added: 2009/04/12 05:06:08
Made with: Phun
Rating: rated 6.1
download
This scene won't start working until after 54 seconds and then only after picking up the ball and dropping it. That is because the ball has _tick = 3220 on startup. Set onSpawn = (e)=>{_tick = 0}, restitution = 1.0, and move the ball up slightly in the air before saving the scene.
I think my brain just exploded.
It (should) work fine now
Yes, works OK now.
FYI:
'if(something,doSomething)' is similar to 'ifSomething ? {doSomething}:{}' or 'ifSomething ? {doSomething}:{doSomethingElse}'
The reason for 'onSpawn = (e)=>{_tick = 0}'is that the simulation always starts with 'sim.tick = 0' and the ball script contains 'sim.tick > _tick + 2 ? {...):{}'
The reason for 'restitution = 1.0' is to increase the bounce rate.
The reason for moving the ball up slightly in the air before saving the scene is to ensure that a collision happens at the start of the scene. This is a moot point if the ball is in a glass container.
Last edited at 2024/09/01 11:58:36 by s_noonan
i don't know what i expected... BUT THIS IS AWESOME!
Could you give the URL to the original scene?
I have to ask if I could please use this in a scene