Browse Search Popular Register Upload Rules User list Login:
Search:
Balance vehicle v1.0

Image:
screenshot of the scene

Author: SyntaxError

Group: Default

Filesize: 32.67 kB

Date added: 2011-05-01

Rating: 5.6

Downloads: 1491

Views: 1045

Comments: 2

Ratings: 5

Times favored: 0

Made with: Algodoo before v1.8.5

Tags:
balance,
level,
vehicle,
water,
thyme,
script

Scene tag

The vehicle drives over obstacles carrying a water tank. The water tank gets balanced automaticly, so no water drops out.

Controls: ricgt:d, left: a

Balancing script:

Scene.my.ballance := {
Scene.my.sensor_R_y - Scene.my.sensor_L_y > 0.1 ? {Scene.my.ballance_ = false} : {};
Scene.my.sensor_L_y - Scene.my.sensor_R_y > 0.1 ? {Scene.my.ballance_ = true} : {}
};

Right box:
onHitByLaser := (e)=>{Scene.my.sensor_R_y = e.pos(1); scene.my.ballance};


Left box:
onHitByLaser := (e)=>{Scene.my.sensor_R_y = e.pos(1)};

Hinge:
ccw := {Scene.my.ballance_};
Last edited at 2011/05/06 15:51:10 by SyntaxError
Please log in to rate this scene
edit
Similar scenes
Title: Auto Hydro Transporter (NO SCRIPT!)
Rating: 5
Filesize: 0.61 MB
Downloads: 982
Comments: 2
Ratings: 1
Date added: 2013/02/11 04:47:50
Made with: Algodoo v2.0.2 Edu
Rating: rated 5
download
Title: Vehicle w. moveable balance
Rating: 5.5
Filesize: 24.58 kB
Downloads: 349
Comments: 0
Ratings: 2
Date added: 2008/09/04 20:33:19
Made with: Phun
Rating: rated 5.5
download
Title: Auto Balance Vehicle
Rating: 5.625
Filesize: 15.17 kB
Downloads: 359
Comments: 0
Ratings: 2
Date added: 2009/10/02 22:55:43
Made with: Algodoo before v1.8.5
Rating: rated 5.6
download
Title: Balance of water
Rating: 5
Filesize: 19.92 kB
Downloads: 301
Comments: 3
Ratings: 1
Date added: 2016/02/24 17:09:17
Made with: Algodoo before v1.8.5
Rating: rated 5
download
Title: Vehicle Contest
Rating: 6.4286
Filesize: 301.45 kB
Downloads: 1148
Comments: 4
Ratings: 7
Date added: 2009/02/28 08:39:07
Made with: Phun
Rating: rated 6.4
download
Title: Climb the slope contest
Rating: 5
Filesize: 82.13 kB
Downloads: 505
Comments: 1
Ratings: 1
Date added: 2009/10/31 23:44:21
Made with: Phun
Rating: rated 5
download
Responses to this scene
show list
Title: Can you make this spill more?
Rating: 5
Filesize: 16.65 kB
Downloads: 342
Comments: 0
Ratings: 1
Date added: 2011/08/29 00:38:20
Made with: Algodoo v1.8.5
Rating: rated 5
download
make that at speed of 5 m/s on a rough and potholes not spilled too..
Last edited at 2011/05/01 11:13:11 by Al VST
Recommendation: Uncheck "motor" on wheel hinges and check "Auto-brake".

Thanks for listing your script in the description. Vehicle works well.:tup:
Last edited at 2011/05/07 06:15:37 by s_noonan