I have two different bodies:
- A dynamic body that is just flying arround
- A static body that boosts dynamic bodies over time while they overlap with it (e.g. just like a boost in mario kart). I implented this body as a sensor.
In this picture the two bodies overlap:
I know i can handle begin/endContact with a b2ContactListener.
But can i trigger a function each frame as long as two objects overlap?
Extra Information: I am using Box2D in my C# code, but my issue is mostly programming language indepedent.