Log In  

I feel like I make one of these every year or so, but it's a rudimentary physics engine for bouncy balls

Cart [#58007#] | Code | 2018-10-16 | License: CC4-BY-NC-SA | Embed

seems like randomly the balls are too fast to see, just restarting the cart seems to fix it
(added particle count)
old version:

Cart [#58005#] | Code | 2018-10-16 | License: CC4-BY-NC-SA | Embed

P#58006 2018-10-16 10:16 ( Edited 2018-10-20 13:33)

here's an update to improve performance (move all of the Entity loops into the same single loop) and fix a couple things

still not sure why the balls will sometimes stop in midair

Cart [#58072#] | Code | 2018-10-18 | License: CC4-BY-NC-SA | Embed

P#58073 2018-10-18 01:09 ( Edited 2018-10-18 05:09)
:: galcha

Wow, really convincing and the code is so short, always amazes me !

P#58185 2018-10-20 09:33 ( Edited 2018-10-20 13:33)

[Please log in to post a comment]

About | Contact | Updates | Terms of Use
Follow Lexaloffle:        
Generated 2019-06-19 06:42 | 0.029s | 4194k | Q:37