Hi, I’m creating a game where I have a sphere that is able to move and jump. Right now I have the sphere set to jump anytime it’s on gameObject “Ground”. But the problem is that the sphere will not jump on duplicate grounds like “Ground(1)” or “Ground(2)”, and I don’t want to set each ground’s name to “Ground”. Is there any way to make it so that I can place “Ground(1)” as a child of Ground and it will jump on former?
My code for detecting when the Sphere is on ground and is able to jump: