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: 1112

Views: 177

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: 575
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: 1338
Comments: 4
Ratings: 3
Date added: 2010/03/08 17:10:15
Made with: Phun
Rating: rated 5.9
download
Title: Eating Mechanism
Rating: 5
Filesize: 113.43 kB
Downloads: 3911
Comments: 1
Ratings: 1
Date added: 2016/04/16 16:24:12
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Snake eating
Rating: 5
Filesize: 19.06 kB
Downloads: 537
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: 981
Comments: 3
Ratings: 3
Date added: 2009/04/12 05:06:08
Made with: Phun
Rating: rated 6.1
download
Title: Ball for object camps (in Algodoo)
Rating: 5
Filesize: 19.47 kB
Downloads: 172
Comments: 0
Ratings: 1
Date added: 2015/05/03 11:32:46
Made with: Algodoo v2.1.0
Rating: rated 5
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