(SOLVED) How to handle non-collision for each instance

Hello,

I’m trying to detect instances that are not colliding with the player, but I’m having difficulty. I believe this question has already been solved in somewhere on the forum, but I can’t find it. Here my events:

Gif with the result:
Gif

Because the Boxes are to close, my Player don’t stops colliding with the Box object while he is walking. I don’t know how to make Gdevelop understand that I want to take into account each separate instance that is not colliding with the player has the linked arrow deleted.

Thanks.

You can reverse the order of the objects
[inverted] player in collision with box to [inverted] box in collision with player

or

It needs to pick the arrows linked to the box otherwise all of the arrows will be deleted.
Inverted collisions work differently. I can’t explain it. The order matters when inverted. But if you put it inside a for each object it compares them 1 on 1.

1 Like

YES! WORKED! THANKS, Keith!

Let’s swap our brains, please
Give me yours… :palm_up_hand: :brain:
And take my… :palm_down_hand: :poop:

1 Like