ObjectHit ignoring tag specifications

Hello! I am trying to make the falling object in Obstacle Course only become red when the player touches it. My code looks the same as the lecture, and the player is the only one with a tag right now. However, despite the double equals, the statement is registering as true anyway and changing the object red as soon as it falls. What could be going on? Is it something I just need to reload?

Never mind, somehow it just didn’t work properly. I think my Unity is not set up to autosave tag adjustments so I had to save it manually. If anyone else encounters this, be sure to save more than just your code.

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

Privacy & Terms