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

Views: 209

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 - Update 6-15-2014
Rating: 5
Filesize: 0.6 MB
Downloads: 717
Comments: 1
Ratings: 1
Date added: 2013/08/09 02:48:33
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Race the Ball.
Rating: 5
Filesize: 246.87 kB
Downloads: 494
Comments: 0
Ratings: 1
Date added: 2008/11/23 12:46:14
Made with: Phun
Rating: rated 5
download
Title: Object Doom Episode 4 Eating the Most
Rating: 5
Filesize: 1.78 MB
Downloads: 596
Comments: 2
Ratings: 1
Date added: 2016/03/17 01:21:43
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Eating Mechanism
Rating: 5
Filesize: 113.43 kB
Downloads: 3936
Comments: 1
Ratings: 1
Date added: 2016/04/16 16:24:12
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Eco Engine Challenge - The Champion
Rating: 5
Filesize: 34.02 kB
Downloads: 467
Comments: 0
Ratings: 1
Date added: 2009/05/23 03:29:47
Made with: Phun
Rating: rated 5
download
Title: Ball for object camps (in Algodoo)
Rating: 5
Filesize: 19.47 kB
Downloads: 183
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