Hi guys
I’m testing a collision between two sensors. I’m trying to decrease a value by one when 2 sensors are overlapping.
The problem is, that sometimes the value gets decreased by 2 even tho I’m using “on collision began”.
I’ve tried removing the collision listener when the collision happens, but still the same issue.
I’ve also tried setting a boolean (true/false) but no help.
Any idea how to do decrease a value by 1 (not more) while sensors are overlapping?
Thank you in advance for any help