Collision on Objects Same Type

Hi, I’m starting with Gdevelop and I’m in problem with collision on same type of objects.

I have the condition

Ball is colliding with Ball

And I need to compare a variable of those balls. For example

varA of BallColliding1 > varA of BallColliding2… do something
varA of BallColliding1 = varA of BallColliding2… do another thing
varA of BallColliding1 < varA of BallColliding2… do another thing

I don’t see a way to do that

Can someone help me please?

Regards

Hi :slight_smile:
We’re talking about the same issue on another topic, have a look at the given explanations and solutions:

2 Likes