i tried to add an if statement that took my stationary objects like houses and trees and rocks and only did the “oh no i hit something” debug log
and i typed it in
void OnCollisionEnter2d(Collision2d other)
{
if (other.tag == “StationaryObjects”)
Debug.Log “oh no a solid object”
and it didn’t work it said it couldn’t identify the tag or something anyway if i want to specify you hit this thing so my person yells “eek” but its multiple somethings how do i do that