The P3 problem! ;D (sry, couldn’t help myself)
I thought of implementing my own particle physics into my game engine to interact with jBox2D bodies (so it can go faster instead of using many tiny bodies which will slow it down because of unnecessary stuff like rotations and stuff)…
I’m just messing around in Codea just to see how it goes and I have made the particles be able to bounce of non moving bodies…
But the problem now is that when a body moves over the particle, the particle just moves straight through it…
How do I do this?
I thought of the idea of moving the particle outside the body and make its speed the same as the moving object. But I do not know how to move it to the outside without out any noticeable bugs… Would I have to code this myself or is there something in jBox2D which can move points outside the body?