- Home /
Generation of meshcollider depending on the shape of the 2d sprite on collision dtection ??
Hi, i am trying make a game where there is a world map sprite and the player can touch any part of the sprite then the particular shape of the sprite should get selected, for ex if i touch USA on the world map sprite then the USA shape on the world map should get selected with the polygon collider. I am looking something like http://u3d.as/content/pixelcloud-games/2d-collider-gen/4iB. Please help me to achieve this..
Answer by Tomer-Barkan · Oct 10, 2013 at 08:26 AM
This is not easily achievable in the current unity version. I hear they plan to enhance the ease of creating 2d games in future releases though.
http://www.joystiq.com/2013/08/30/unity-getting-official-2d-support-ad-functionality-unity-games/
In the meantime, there are packages to help you do such things, namely you could use Orthello 2d which I'm pretty sure can do what you ask for:
http://www.wyrmtale.com/products/unity3d-components/orthello
thank you tkbn for the help.. I've heard about orthello, but i am using 2d toolkit for the sprites..