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

Views: 1210

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: 1095
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: 406
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: 433
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: level 3 water land fixed
Rating: 6.25
Filesize: 84.96 kB
Downloads: 436
Comments: 6
Ratings: 4
Date added: 2008/10/16 22:14:02
Made with: Phun
Rating: rated 6.3
download
Title: Blu (Idea)
Rating: 4.5
Filesize: 168.66 kB
Downloads: 860
Comments: 7
Ratings: 2
Date added: 2011/02/21 01:12:17
Made with: Phun
Rating: rated 4.5
download
Title: Odd balance chalange
Rating: 5
Filesize: 242.94 kB
Downloads: 452
Comments: 0
Ratings: 1
Date added: 2014/01/17 07:50:27
Made with: Algodoo v2.1.0
Rating: rated 5
download
Responses to this scene:
Title Author Rating Downloads Comments Date added
Can you make this spill more? Cowgirl589 5 (1 vote) 386 0 2011/08/29 00:38:20
show grid
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