Any way to do probability in a custom room?

Is there a way to apply some RNG logic into puzzle mechanics such as a gacha dispenser machine?

gamecarpenter replied to Any way to do probability in a custom room? January 7, 2022 @ 2:02:03 pm PST
gamecarpenter replied to Any way to do probability in a custom room? January 7, 2022 @ 2:02:03 pm PST

with trigger areas and rotation animation I feel like you should be able to get a sort of roulette wheel effect (dropping a ball blind into a segmented, rotating, circle of triggers). You can make one animated object the child of another to get spins that go over 180 degrees.

Thoroniul replied to Any way to do probability in a custom room? January 7, 2022 @ 2:05:07 pm PST
Thoroniul replied to Any way to do probability in a custom room? January 7, 2022 @ 2:05:07 pm PST

https://discord.com/channels/449578254433517578/898938872740859935/923460006811172864

One can make a jittering particle that hops around in a bounded box with a bunch of different detectors. Perhaps that could be used to make a physics based rng machine.

Thoroniul replied to Any way to do probability in a custom room? January 2, 2022 @ 1:53:35 pm PST
Thoroniul replied to Any way to do probability in a custom room? January 2, 2022 @ 1:53:35 pm PST

Someone made an RNG proof of concept a while back, but its pretty rudimentary.
https://steamcommunity.com/sharedfiles/filedetails/?id=2636027317

It definitely is possible and something that can be improved upon, but it is something nobody has gotten around to exploring in detail yet.

Rate Escape Simulator