Collision object cooldown

In my game, when two objects collide the number of points increases. However, it seems like the collision is being detected twice so the points are incrementing twice.

Is there any way I can include a cooldown or another method so that there won’t be repeated collisions?

1 Like

It may be better to use a trigger, which triggers once on in and once on out even if the body or bodies have more than one fixture.

1 Like