Browse Search Popular Register Upload Rules User list Login:
Search:
3d marble run

Image:
screenshot of the scene

Author: ezpz(fib)5

Group: Marble & Athlons & BFDI & Camps

Filesize: 35.58 kB

Date added: 2022-01-07

Rating: 5.9

Downloads: 3215

Views: 270

Comments: 5

Ratings: 4

Times favored: 0

Made with: Algodoo v2.1.3

Tags:

Scene tag

This took longer than I thought it would. It is a marble going down a run that looks 3D.
you can use this in your own scenes, just give me credit please.

All you need to do is get a box and add the script to that box and it looks 3d, after a certain distance from the camera it stops working to reduce lag.

I hope you like it. Thank you for looking at this.

here's the script:
r = math.vec.dist(scene.camera.pan, pos);
c = math.atan2(scene.camera.pan(1) - pos(1), scene.camera.pan(0) - pos(0));
r < 50 ? {
for(10, (i)=>{
Scene.addBox({
size := e.this.size;
color := e.this.color;
density := ∞;
pos := pos + ([math.cos(c + math.pi), math.sin(c + math.pi)] * i) / 200 * r;
timeToLive := 0.05;
collideset := 0;
drawborder := true;
angle := angle
})
})
} : {}
Last edited at 2022/02/21 21:36:01 by ezpz(fib)5
Please log in to rate this scene
edit
Similar scenes
Title: The Smart Race S1EP1
Rating: 5
Filesize: 60.48 kB
Downloads: 2016
Comments: 2
Ratings: 1
Date added: 2015/02/21 21:34:37
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Guest Marble Race Season 1 Part 3 Updated (Sorry for suck)
Rating: 5
Filesize: 86.16 kB
Downloads: 651
Comments: 3
Ratings: 1
Date added: 2016/06/15 09:55:49
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Team Marble Race Season 1 Elimination 1
Rating: 5
Filesize: 1.27 MB
Downloads: 1105
Comments: 1
Ratings: 1
Date added: 2015/09/19 03:59:10
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Algotrimarblethon 4/18
Rating: 5
Filesize: 165.04 kB
Downloads: 324
Comments: 4
Ratings: 1
Date added: 2017/01/06 23:42:21
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: First-to-die Marble Race (Part 1)
Rating: 5
Filesize: 0.56 MB
Downloads: 672
Comments: 1
Ratings: 1
Date added: 2020/05/29 16:17:57
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Rudimentary Marble Mirror
Rating: 5
Filesize: 7.75 kB
Downloads: 384
Comments: 0
Ratings: 1
Date added: 2019/04/24 11:13:14
Made with: Algodoo v2.1.0
Rating: rated 5
download
Crashed my Algodoo:(
sad...
Very nice, it's just really laggy.
yeah, I should decrease amount of boxes
***
Last edited at 2022/03/03 03:13:42 by ezpz(fib)5