My score increases by two

Hello, whenever I bump into a wall my score increases by two, it seems that the OnCollisionEnter, activates twice for some reason. I already checked if the cube touches the plane and reduced the speed, but i still have the same problem

Do you perhaps have the script on the object twice?

So i went to check if i had the script twice, but ended up finding that i had the box collider twice on the inspector. Thanks for your fast reply

That was the next option :wink:

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms