tl;dr: I made an enemy object so that I can reuse it again, but for some reason, it stopped detecting collisions despite the object children having collisions and me putting it in the Base layer
How do I…
How do I make an enemy prefab that detects collisions so that I can reuse it across the map?
What is the expected result
Explain what should happen when you run the game.
Enemy should land on the platform. If you contact the black collision box, then should move to you.
What is the actual result
Explain what is happening instead, what is going wrong.
Enemy doesn’t detect any collision and falls through the map. How would I fix this?
Children of a custom objects are what make the custom object visually. They are not independent objects. Children can’t be platformer characters, only the custom object as a whole can.