2D Toolkit Forum
2D Toolkit => Support => Topic started by: Bridgeman on August 12, 2014, 09:07:07 pm
-
So I followed this tutorial: http://www.unikronsoftware.com/2dtoolkit/doc/2.4/tilemap/tutorial.html
Then I followed this tutorial: http://www.unikronsoftware.com/2dtoolkit/doc/2.4/tutorial/creating_polygon_colliders.html
I made colliders for every single tile I used in my level, but when I added the Unity 2D player prefab, it just fell through the ground. On top of that, I can't see any of the colliders like in Scene view like in the screenshots. Not in 2D view and not in normal view.
-
Bump
-
Have you set your sprite collection to 2d physics? Also try creating a box with 2d rigid body and box collider 2d, see if that falls through.
-
I hadn't actually. It seems to be working now. But I still can't see the actual colliders in Scene view, even though they're there. That's a bit weird.
-
Is it a tilemap you're testing this on?
-
Yes
-
Tilemap colliders only appear when it is committed, or when you press play. It isn't visible otherwise.
-
I did commit it, but it still doesn't show, even when I press play
-
Please either post your project, or a few screenshots - I'm not sure what is going on.
-
Oh nevermind, I can see the colliders now. I missed it because my colliders are fitted tightly around my tiles, so it was difficult to see.