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

Views: 1233

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: Vehicle w. moveable balance
Rating: 5.5
Filesize: 24.58 kB
Downloads: 418
Comments: 0
Ratings: 2
Date added: 2008/09/04 20:33:19
Made with: Phun
Rating: rated 5.5
download
Title: Jeep Wrangler Rubicon Offroad Test
Rating: 5
Filesize: 215.87 kB
Downloads: 1081
Comments: 0
Ratings: 1
Date added: 2009/07/07 18:17:11
Made with: Phun
Rating: rated 5
download
Title: Balance of water
Rating: 5
Filesize: 19.92 kB
Downloads: 377
Comments: 3
Ratings: 1
Date added: 2016/02/24 17:09:17
Made with: Algodoo before v1.8.5
Rating: rated 5
download
Title: Climb the slope contest
Rating: 5
Filesize: 82.13 kB
Downloads: 600
Comments: 1
Ratings: 1
Date added: 2009/10/31 23:44:21
Made with: Phun
Rating: rated 5
download
Title: level 3 water land fixed
Rating: 6.25
Filesize: 84.96 kB
Downloads: 446
Comments: 6
Ratings: 4
Date added: 2008/10/16 22:14:02
Made with: Phun
Rating: rated 6.3
download
Title: Concept millitary vehicle
Rating: 5
Filesize: 352.42 kB
Downloads: 1212
Comments: 0
Ratings: 1
Date added: 2015/01/01 03:45:19
Made with: Algodoo v2.1.0
Rating: rated 5
download
Responses to this scene
show list
Title: Can you make this spill more?
Rating: 5
Filesize: 16.65 kB
Downloads: 394
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