Browse Search Popular Register Upload Rules User list Login:
Search:
my self adjusting car

Image:
screenshot of the scene

Author: bluebravo

Group: Default

Filesize: 50.55 kB

Date added: 2012-05-28

Rating: 5.4

Downloads: 1087

Views: 638

Comments: 10

Ratings: 2

Times favored: 0

Made with: Algodoo v2.0.2 Edu

Tags:

Scene tag

now with the new scriptable size
only playable with algodoo 2.0.2 b15 and higher

best regards bluebravo aka silversmart
Please log in to rate this scene
edit
Similar scenes
Title: Mechanical Variator/CVT
Rating: 5.8889
Filesize: 75.87 kB
Downloads: 1003
Comments: 1
Ratings: 3
Date added: 2011/04/24 17:43:30
Made with: Algodoo before v1.8.5
Rating: rated 5.9
download
Title: Simple Script Variables
Rating: 5
Filesize: 0.58 MB
Downloads: 7911
Comments: 2
Ratings: 1
Date added: 2012/08/06 16:43:26
Made with: Algodoo v2.0.2
Rating: rated 5
download
Title: Collection of spring engines
Rating: 5.625
Filesize: 0.64 MB
Downloads: 837
Comments: 1
Ratings: 2
Date added: 2009/08/27 07:16:19
Made with: Phun
Rating: rated 5.6
download
Title: phun with water
Rating: 5.75
Filesize: 283.86 kB
Downloads: 256
Comments: 1
Ratings: 4
Date added: 2008/11/06 20:56:49
Made with: Phun
Rating: rated 5.8
download
Title: Basic piston
Rating: 5
Filesize: 20.81 kB
Downloads: 321
Comments: 1
Ratings: 1
Date added: 2012/07/17 04:45:49
Made with: Algodoo v2.0.1 Edu
Rating: rated 5
download
Title: Konstal 4N V2.0
Rating: 5
Filesize: 144.45 kB
Downloads: 158
Comments: 0
Ratings: 1
Date added: 2018/02/05 09:25:38
Made with: Algodoo v2.1.0
Rating: rated 5
download
IT DOESN'T WORK (I THINK)
only playable with algodoo 2.0.2 b15 and higher
U could wrote how exactle works? e pos? or how?
Hey bluebravo, you are from Germany right?
Because i'm making an Volkswagen. :)
Very nice concept - I didn't knew about that scripting function. Also where do I get more information on that readable(owner) thing?
hey MrLucas: yes im from germany, but i dont like Volkswagen...;)
but your cars are great...!!!:)

Ok, @ all other people...
if you put the green square in the background, you see a circle and a laser... right?
go into the scriptmenu of the circle and see what i wrote in the onhitbylaser:
(e)=>{scene.my.angle = (readable(owner)).angle} there we have the angle of the circle. you could use a squara too. but i like circles ^^
if you now klick on the laser and go in the scriptmenu, you see:
(e)=>{
scene.my.angle < -0.0025 ? {
scene.my.test1 = scene.my.test1 + [0, 0.008];
scene.my.federr = scene.my.federr + 0.008
} : {};
scene.my.angle > 0.0025 ? {
scene.my.test1 = scene.my.test1 - [0, 0.008];
scene.my.federr = scene.my.federr - 0.008
} : {};
scene.my.angle < -0.0025 ? {
scene.my.test = scene.my.test - [0, 0.008];
scene.my.federl = scene.my.federl - 0.008
} : {};
scene.my.angle > 0.0025 ? {
scene.my.test = scene.my.test + [0, 0.008];
scene.my.federl = scene.my.federl + 0.008
} : {}
}

with the code in the circle i made the angle a scene.my. variable so i can use it anywhere:)
and if the angle goes above 0.0025 the square where the tire is grows about 0.008 upward and the spring (for good measure) grows about 0.008 in the length. If the circles angle goes under 0.0025 the same the other way round.
i whis i could write more about about the (readable(owner)) variables. but for those infos look in the forum please...

best regards bluebravo
Last edited at 2012/05/31 19:26:00 by bluebravo
@bluebravo
I think you can use entity.angle instead of readable(owner)).angle:)
@ tatt...
i dont know something about entity.angle... what does that mean?
@bluebravo
Have you read Changelog?;)
'owner' has been replaced to 'entity'. Re: 2.0.2 beta

'owner' has an issue Re: Thyme: how to get owner info at inside of IF statement
Last edited at 2012/06/02 22:15:13 by tatt61880
no, i didnt read this. but now i try ^^

thx for the link...