Browse Search Popular Register Upload Rules User list Login:
Search:
Basic timers for scripts made with motors and collisions.

Image:
screenshot of the scene

Author: JustBurn

Group: Default

Filesize: 28.94 kB

Date added: 2009-06-07

Rating: 5

Downloads: 628

Views: 869

Comments: 0

Ratings: 1

Times favored: 0

Made with: Phun

Tags:

Scene tag

This contain 3 timers blocks made out of motors and collisions.

Configure the hinge RPM with 60.0 dividing by the number of seconds. e.g. 30.0 RPM should give a period of 2 by 2 seconds.

Timer 0 Action:
Scene.my.t0a = { (action to take here) };

Timer 1 Action:
Scene.my.t1a = { (action to take here) };

Timer 2 Action:
Scene.my.t2a = { (action to take here) };

"Scene.my.t0s", "Scene.my.t1s" and "Scene.my.t2s" hold the states of the timers to prevent multiple triggers, initialize them to "false" if your creating a new scene.

Enjoy it and hope it's useful for your Phun project.:)
Last edited at 2009/06/08 03:42:20 by JustBurn
Please log in to rate this scene
edit
Similar scenes
Title: Physics HSch 0204 Collisions in 1d
Rating: 5
Filesize: 55.4 kB
Downloads: 295
Comments: 0
Ratings: 1
Date added: 2015/08/23 12:46:02
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Clock Contest Entry
Rating: 6.75
Filesize: 206.49 kB
Downloads: 441
Comments: 2
Ratings: 4
Date added: 2008/11/09 15:32:17
Made with: Phun
Rating: rated 6.8
download
Title: Magnetic Engines Display
Rating: 5.8889
Filesize: 38.6 kB
Downloads: 818
Comments: 1
Ratings: 3
Date added: 2009/03/28 20:33:45
Made with: Phun
Rating: rated 5.9
download
Title: Water surface simulator
Rating: 5
Filesize: 42.51 kB
Downloads: 631
Comments: 3
Ratings: 1
Date added: 2015/02/15 20:30:17
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Analogue Clock
Rating: 7.6667
Filesize: 206.49 kB
Downloads: 397
Comments: 1
Ratings: 3
Date added: 2008/12/16 22:59:53
Made with: Phun
Rating: rated 7.7
download
Title: Noscript machine
Rating: 5
Filesize: 18.99 kB
Downloads: 680
Comments: 0
Ratings: 1
Date added: 2019/08/16 13:01:21
Made with: Algodoo v2.1.0
Rating: rated 5
download