Question by
Jedd117 · May 03, 2016 at 08:40 AM ·
2dcolliderprefabnot colliding
Game objects are not colliding with my player
I'm working on a simple 2D game where you control a space ship that can only move left or right, and if you collide with one of the falling asteroids the game ends. Currently, I have polygon collides set up on my ship, and my asteroids prefab. When I spawn the asteroids, it just makes a clone of the asteroids. When I start the game, I set out the prefab in the hierarchy (just to test) and it's able to collide with the ship, but the clones do not. I've inspected the properties of the clones and they do have the polygon collider attached to them so they should be colliding but but they're just passing right through.
Any ideas on what else I could be looking for? It's probably something simple, but I can't figure out what's going on.
Comment