2D ColliderGen old

[button size=”large” align=”center” full=”false” link=”” linkTarget=”_self” color=”red” link=”https://www.assetstore.unity3d.com/#/content/7540″]Buy Now on the Unity Asset Store[/button]

[divider_padding]

Efficiently Tweakable Mesh- or PolygonColliders – now with Animated Colliders

[divider_advanced color=”#0067A3″ paddingTop=”0″ paddingBottom=”10″ thickness=”2″ width=”100%” top=”true”]
[three_fifth]

An Extension for the Unity GameEngine

[list style=”list1″]

  • NEW: Unity5 and IL2CPP/iOS-64BIT support.
  • Animated Colliders for Unity 4.3 Sprite Animations.
  • Support for Unity 4.3 Sprites and PolygonCollider2D.
  • Supports Windows Phone 8 target platform.
  • Supports infinite holes and islands within a single image.
  • Integrates with SmoothMoves, 2D Toolkit and Orthello (Free, Elements and Pro).
  • Simple parameters for optimal results – specify the vertex count you want.
  • Adds no additional performance cost at runtime – colliders are created entirely within the editor.
  • Multi-object editing support.
  • Colliders can be forced convex for MeshCollider Rigidbody collisions.
  • Even works with SmoothMoves BoneAnimation characters.
  • Supports OTTilesSprite and OTTileMap.
  • Works with Unity 3.x, 4.x and 5.x – Standard and Pro.
  • Supports all versions of Unity – no requirement for Unity Pro.

[/list]

[/three_fifth]
[two_fifth_last]

Unity3D Logo
[/two_fifth_last]
[divider_advanced color=”#0067A3″ paddingTop=”0″ paddingBottom=”10″ thickness=”2″ width=”100%” top=”true”]

[lightbox title=”2D ColliderGen v2.0 Official Trailer” href=”#youtube_lightbox_trailer” inline=”true” width=”1280″ height=”720″]2D ColliderGen Official Trailer[/lightbox]

[divider_advanced color=”#0067A3″ paddingTop=”0″ paddingBottom=”10″ thickness=”2″ width=”100%” top=”true”]

[divider_padding]
[two_fifth]

[one_fifth] [/one_fifth]
[four_fifth_last]

Documentation and Video Tutorials

[/four_fifth_last]

Visit the documentation pages and watch the full video tutorials for each of the officially supported 2D frameworks – 2D Toolkit, SmoothMoves and Orthello.
[list style=”list1″]

[/list]
[/two_fifth]

[one_fifth]

[three_fifth_last]

Support Forum

[/three_fifth_last]
Visit the
Unity forum thread.
[/one_fifth]

[two_fifth_last]
[one_fifth] [/one_fifth]
[four_fifth_last]

Links to Supported 2D Frameworks

[/four_fifth_last]

Links to the websites of the great 2D packages we officially support.
[one_third]
[image source_type=”attachment_id” source_value=”359″ width=”100″ autoHeight=”true” link=”http://www.unikronsoftware.com/2dtoolkit/” linkTarget=”_blank”]
[/one_third][two_third_last]2D Toolkit by Unikron Software[/two_third_last]
[one_third]
[image source_type=”attachment_id” source_value=”363″ width=”100″ autoHeight=”true” link=”http://www.echo17.com/smoothmoves.html” linkTarget=”_blank”]
[/one_third][two_third_last]SmoothMoves by echo17[/two_third_last]
[one_third]
[image source_type=”attachment_id” source_value=”356″ width=”100″ autoHeight=”true” link=”http://www.wyrmtale.com/orthello” linkTarget=”_blank”]
[/one_third][two_third_last]Orthello (Free/Elements/Pro) by WyrmTale Games[/two_third_last]

[/two_fifth_last]

[divider_padding]
[divider_advanced color=”#0067A3″ paddingTop=”0″ paddingBottom=”10″ thickness=”2″ width=”100%” top=”false”]
[one_third][/one_third]
[one_third_last]
[one_fifth][/one_fifth] [four_fifth_last]

Frequently Asked Questions (FAQ)

[/four_fifth_last]
[/one_third_last]
[divider_advanced color=”#0067A3″ paddingTop=”0″ paddingBottom=”10″ thickness=”2″ width=”100%” top=”false”]

[dropcap2]Q[/dropcap2] I just updated, where did the 2D ColliderGen menu go?

[dropcap2]A[/dropcap2] It’s now under Component – 2D ColliderGen.

[dropcap2]Q[/dropcap2] Does 2D ColliderGen work with other 2D frameworks?

[dropcap2]A[/dropcap2] Yes – just attach an AlphaMeshCollider to your object.

Then by default, the main texture of the object is used. If your GameObject has no texture attached, or in case of a texture atlas, you may need to set the Advanced Settings – Custom Texture parameter to provide the desired texture. Please visit this documentation page for further info.

[dropcap2]Q[/dropcap2] Does 2D ColliderGen have any impact on the game’s framerate?

[dropcap2]A[/dropcap2] No – it does nothing but add a MeshCollider or PolygonCollider2D.

Be sure to use the outline vertex count parameter of the AlphaMeshCollider to optimize the vertex count according to your shape – the fewer vertices, the better.

[dropcap2]Q[/dropcap2] Can I use 2D ColliderGen to update colliders during runtime?
What if I can’t precompute them?

[dropcap2]A[/dropcap2] Yes – Unity4.3 Sprite Animations are supported out of the box.
If you can’t precompute them, the answer is still yes, but there is some coding involved for now.

In the second case, please visit the Runtime Collider Generation page for instructions. If you have any problems, drop us a message and we will help you with the coding details. OrbitGames have successfully used our tool to create a planet digging game called ‘Plannit’ which performs well on mobile. Visit their Youtube channel and watch the Trailer here:

[one_half]
[image source_type=”attachment_id” source_value=”403″ align=”right” icon=”link” width=”320″ height=”180″ autoHeight=”true” link=”http://www.youtube.com/user/OrbitGames2013?feature=c4-feed-u” linkTarget=”_blank”]
[/one_half]

[one_half_last]
[lightbox title=”Plannit Official Trailer” href=”#youtube_lightbox_plannit” inline=”true” width=”1280″ height=”720″]Plannit Official Trailer[/lightbox]

[/one_half_last]

[dropcap2]Q[/dropcap2] There are no front- and back-caps on the MeshCollider, but I need them – what can I do?

[dropcap2]A[/dropcap2] There are two solutions for this problem

The easy way is to switch the AlphaMeshCollider output collider type to PolygonCollider2D.
If that’s not an option, check “force convex” at the AlphaMeshCollider and tick “convex” at the MeshCollider component, then the front and back caps are added automatically. We are sorry to say that we don’t offer a solution for concave MeshCollider caps.