Browse Search Popular Register Upload Rules User list Login:
Search:
2.0.2b15 bizzare script?

Image:
screenshot of the scene

Author: faytree

Group: Default

Filesize: 6.16 kB

Date added: 2012-12-31

Rating: 5

Downloads: 339

Views: 490

Comments: 7

Ratings: 1

Times favored: 0

Made with: Algodoo v2.0.2

Tags:

Scene tag

i try to copy intrinsic on the box and paste them at the plane.weird thing happens.
Please log in to rate this scene
edit
Similar scenes
Title: anti-gravity scripting example
Rating: 5
Filesize: 74.16 kB
Downloads: 325
Comments: 0
Ratings: 1
Date added: 2012/12/10 05:43:44
Made with: Algodoo v2.0.2
Rating: rated 5
download
Title: Lens Maker (v2.0.2b15)
Rating: 5.625
Filesize: 10.35 kB
Downloads: 776
Comments: 3
Ratings: 2
Date added: 2012/06/23 01:33:36
Made with: Algodoo v2.0.2 Edu
Rating: rated 5.6
download
Title: script COLLECTION
Rating: 8.25
Filesize: 1.12 MB
Downloads: 5112
Comments: 12
Ratings: 14
Date added: 2019/03/28 18:42:29
Made with: Algodoo v2.1.0
Rating: rated 8.3
download
Title: Mounted Minigun (PHUN ONLY)
Rating: 5.8889
Filesize: 57.57 kB
Downloads: 2263
Comments: 13
Ratings: 3
Date added: 2009/11/29 06:22:18
Made with: Phun
Rating: rated 5.9
download
Title: Box-Wheel for top view
Rating: 6
Filesize: 19.11 kB
Downloads: 1018
Comments: 7
Ratings: 3
Date added: 2012/12/01 15:50:06
Made with: Algodoo v2.1.0
Rating: rated 6
download
Title: Uncoiler (v2.0.2b15)
Rating: 5
Filesize: 4.92 kB
Downloads: 301
Comments: 1
Ratings: 1
Date added: 2012/08/18 13:39:32
Made with: Algodoo v2.0.2 Edu
Rating: rated 5
download
It spawns boxes glued together. I hate that bug:(
yes i know!
and it's not a bug it's a type of useless script.
//forwarded scene to Emilk to look into this possible bug(?).
I don't believe it's a bug. If you set restitution = 0 on all four planes, then they won't spawn multiple boxes. The strange thing that I see is that all of the spawned boxes are glued to each other, even though the variable for glue is "false" on each plane. That particular bug was already noted a long time ago.
Your script assignes the same body to all spawned boxes, which means they move as one. Just omit the "body" attribute to get a new body. In fact, what you probably want is something short and nice like:

(e)=>{
Scene.addBox({
pos := [1.5, 3.5];
color := [1, 1, 0.5, 1]
})
}
Hmmmm.... That makes sense. I thought it was a bug. I learn something new every day! Thanks, Emil

Did you get that, faytree?