2D Toolkit Forum
2D Toolkit => Support => Topic started by: JBabz on July 16, 2013, 04:42:39 pm
-
Hi.
I've noticed that there is an option for "Render Mesh" and "Collider" in the 2DTK tilemap editor..
I'm importing a map from Tiled, and so far it's working, except the only last thing that I want to do is add colliders to the top layer of my map.
It seems very possible, I'm just lost as to how to do it.
Can anybody throw me a line here?
Thank you SO much! :D
EDIT: I FIXED IT! All that I had to do was delete my Tilemap Render Data and re-commit. Deleting it was key. Interesting.
-
add a box Collider for the tile in a tilemap. as below:
-
I tried that, and it didn't seem to work...
I really appreciate the possible fix, though, bro!
There must be something else I'm doing wrong...
-
You did commit, didn't you? The collider won't exist until you commit. Check the demo scene to see whats going on there and how its setup.
-
I commited...what's wrong with this thing? Is my character maybe on a different Z coordinate? I tried that though..
-
No idea what you could've done wrong.
Can you see the colliders in scene view when you select the tilemap render data object after comitting?
-
Also change the collider depth on the sprite collection if you have to.
-
Tried everything, yes, I see the colliders. I'm lost.
-
Ok. Easy solution - make a repro case for me, zip up the project and send to support at unikronsoftware.com.
I'll look into it for you.
-
Haha.
Thanks a ton, man, but I fixed it (see initial post).