Browse Search Popular Register Upload Rules User list Login:
Search:
Scripting help

Image:
screenshot of the scene

Author: Death_noob

Group: Default

Filesize: 14.84 kB

Date added: 2016-12-30

Rating: 5

Downloads: 135

Views: 166

Comments: 5

Ratings: 1

Times favored: 0

Made with: Algodoo v2.1.0

Tags:

Scene tag

If someone could make a help scene that wouldd be nice.
Here is something I made.
Please log in to rate this scene
edit
Similar scenes
Title: Basic Scripting Scene A lot of things that run on scripts!!!!!
Rating: 5.4444
Filesize: 39.95 kB
Downloads: 593
Comments: 2
Ratings: 3
Date added: 2009/11/11 00:56:33
Made with: Phun
Rating: rated 5.4
download
Title: Water maker scripting
Rating: 5
Filesize: 59.54 kB
Downloads: 701
Comments: 0
Ratings: 1
Date added: 2012/03/03 17:12:51
Made with: Algodoo v2.0.1
Rating: rated 5
download
Title: Simple Scripting
Rating: 5
Filesize: 11.55 kB
Downloads: 300
Comments: 0
Ratings: 1
Date added: 2011/12/03 06:45:02
Made with: Phun
Rating: rated 5
download
Title: Helicarter *no scripting but have some controls*
Rating: 5
Filesize: 301.24 kB
Downloads: 229
Comments: 0
Ratings: 1
Date added: 2016/02/07 03:37:25
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Ball counter, scripting SICK!!!!!!!
Rating: 7.3077
Filesize: 314.4 kB
Downloads: 1733
Comments: 2
Ratings: 7
Date added: 2009/09/03 09:54:02
Made with: Phun
Rating: rated 7.3
download
Title: Scripting for anybody part 1
Rating: 5
Filesize: 37.51 kB
Downloads: 306
Comments: 0
Ratings: 1
Date added: 2017/12/16 17:18:52
Made with: Algodoo v2.1.0
Rating: rated 5
download
Need spawning objects?
Here

(e)=>{
scene.AddCircle({
radius := 0.25;
pos := pos;
density := 2.0;
vel := e.normal * 10
})
}

You're welcome!
Or i will make it for you.
What does e.normal do? The way you use it in the above script leads me to presume it has x and y components, but other than that what is it? :?

Also, on the topic, here are some other spawnable geometries:
(e)=>{
Scene.addPolygon({
surfaces := [[[-0.5, -(3 ^ 0.5) / 6], [0.0, (3 ^ 0.5) / 3], [0.5, -(3 ^ 0.5) / 6]]];
pos := pos;
density := 2.0;
vel := e.normal * 10
})
}

(e)=>{
Scene.addBox({
size := [1.0, 1.0];
pos := pos;
density := 2.0;
vel := e.normal * 10
})
}
Last edited at 2017/01/01 09:36:33 by icrls984
Thanks!
I just have trouble remembering how to put the brackets :bonk: