Box2D objects disappearing randomly

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • This started happening after I added explosions whereby a loop is run 20 times creating objects and shapes 6x16 that rotate and push out of the origin with an applied impulse.

    All objects and shapes are removed when not needed and I've set body/proxies to 2048 and pairs to 8192.

    Also tried disabling collisions for the exploders and every other object but no dice.

    What is causing this?

    Please login to see this link. | Please login to see this link. | Please login to see this link. | Please login to see this link.

  • Did you raise the limit of actives in the frame properties?

    What exactly is disappearing? The new objects you created with the loop or older objects?

    Not sure if this is much of help but i had a problem where i generated a lot of box 2d bodies and shapes via loop and sometimes they were not being made. Using ForEach loops fixed that.

  • Yep, solved using ForEach loops to check when health of units <= 0. Looks like all units were being destroyed whenever 1 was out of health! So it's not a Box2D issue and I think I've had this problem with MMF before. Could also be a thing with using qualifiers. Still, I shouldn't have to use ForEach loops for this whenever there's a whole lot of objects to deal with... oh well, the CPU hit isn't too bad.

    Please login to see this link. | Please login to see this link. | Please login to see this link. | Please login to see this link.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!