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

Views: 493

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: 327
Comments: 0
Ratings: 1
Date added: 2012/12/10 05:43:44
Made with: Algodoo v2.0.2
Rating: rated 5
download
Title: My solution to adjustable size
Rating: 5
Filesize: 27.06 kB
Downloads: 722
Comments: 1
Ratings: 1
Date added: 2012/05/27 15:33:44
Made with: Algodoo v2.0.2 Edu
Rating: rated 5
download
Title: bizzare splitting of light.
Rating: 5.1111
Filesize: 92.05 kB
Downloads: 490
Comments: 0
Ratings: 3
Date added: 2009/10/27 14:51:19
Made with: Algodoo before v1.8.5
Title: Mounted Minigun (PHUN ONLY)
Rating: 5.8889
Filesize: 57.57 kB
Downloads: 2266
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: 1021
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: 302
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?