Browse Search Popular Register Upload Rules User list Login:
Search:
One-way wall demo

Image:
screenshot of the scene

Author: ElementalDominoOfficial

Group: Default

Filesize: 7.99 kB

Date added: 2024-05-21

Rating: 5

Downloads: 1119

Views: 219

Comments: 0

Ratings: 1

Times favored: 0

Made with: Algodoo v2.1.0

Tags:

Scene tag

A simple scene to test one-way wall functionality. Triggers truly are wonderful, aren't they? (This exists because I have seen very little use of this mechanic on Algobox)

---- <markup><b>Explanation</b></markup> ----
The marble initially has a collideSet of 31 (A,B,C,D,E); the box which is meant to be one-way has a collideSet of 32 (F only).
Exactly 0.4 meters (the diameter of the marble) from the wall is another box with a collideSet of 31 (E only) and a restitution of -inf, which makes it not affect the marble's trajectory at all (a trigger). It also sets the marble's collideSet to 47 (A,B,C,D,F) meaning it now collides with the wall but not the trigger. <markup><i>Please note that objects with a restitution of -inf will delete anything with a restitution of 0, so hopefully you don't for some reason have non-bouncy marbles:P and if you do just set it to a really low number like 9999 or something, it will slightly affect their trajectories but it's negligible.</i></markup>
Please log in to rate this scene
edit
Similar scenes
Title: Special Ball Contraption Kit
Rating: 5
Filesize: 50.65 kB
Downloads: 504
Comments: 0
Ratings: 1
Date added: 2015/09/09 16:49:36
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Jumping machine platformer-1
Rating: 5
Filesize: 124.08 kB
Downloads: 830
Comments: 3
Ratings: 3
Date added: 2008/06/14 00:04:54
Made with: Phun
Rating: rated 5
download
Title: wall climber V.1
Rating: 5.625
Filesize: 33.09 kB
Downloads: 608
Comments: 2
Ratings: 2
Date added: 2010/07/02 22:21:00
Made with: Phun
Rating: rated 5.6
download
Title: TSUNAMI PHUN TOWN
Rating: 5
Filesize: 146.76 kB
Downloads: 1097
Comments: 0
Ratings: 1
Date added: 2019/06/12 06:40:48
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: parkourPlayerPrototype
Rating: 5.625
Filesize: 14.14 kB
Downloads: 1217
Comments: 4
Ratings: 2
Date added: 2022/02/15 19:35:36
Made with: Algodoo v2.1.0
Rating: rated 5.6
download
Title: MAGNEHAND level 5
Rating: 5
Filesize: 234.28 kB
Downloads: 640
Comments: 1
Ratings: 1
Date added: 2009/07/14 17:04:58
Made with: Phun
Rating: rated 5
download