Hi!
I want both the gameobject that the script is attached to to change tag to “0”(upon collision) – but also the gameobject that it is colliding with, col, to change. Unfortunately col does not change tag. The col object also has this script attached to itself.
your if statement is pretty horrific
indexing a tag is just picking letters from the tag
if your tags are just “0”, “4”, etc then tag[1] will be out of range
whereas, if your tag is “ball” then tag[1] = the letter ‘a’