2D Toolkit Forum

2D Toolkit => Support => Topic started by: jamiltron on February 08, 2014, 02:13:29 am

Title: StaticSpriteBatcher eating my BoxCollider2D
Post by: jamiltron on February 08, 2014, 02:13:29 am
I have a GameObject with a single BoxCollider2D attached to it, and a number of tk2dSprites collected underneath. When I bake down the parent object using the StaticSpriteBatcher it removes my BoxCollider2D. Is this the intended behaviour?
Title: Re: StaticSpriteBatcher eating my BoxCollider2D
Post by: unikronsoftware on February 08, 2014, 11:52:36 am
yes the sprite batcher only adds tk2d managed colliders. If you want to do this, you can add your own colliders to the batcher object itself.