Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

New beta crashes physics

edited March 2012 in Beta Posts: 2,161

My physics project - with the loads of particles - that John (?) was going to use to debug the caching now crashes Codea when I run it.

Comments

  • SimeonSimeon Admin Mod
    Posts: 5,362

    Weird. I thought he used it to debug the contacts issue, we thought we solved the slow-down issue. Will have to revisit it, thanks for letting us know.

  • SimeonSimeon Admin Mod
    edited March 2012 Posts: 5,362

    This has been fixed now — thanks for the report.

    (For a temporary work around, just implement the collide(contact) function callback in your code — even if it's empty it should fix the crashing until the next beta.)

  • Posts: 2,161

    Just tried this - working like a charm! With 200 particles, I still get a decent frame rate (about 40fps). Changing the variation of particle size is nice: with a good spread you can clearly see particles sorting by size (small on bottom, big on top).

    I'll add a bit of friction now to make it more fluid-like.

Sign In or Register to comment.