2D Toolkit Forum

2D Toolkit => Support => Topic started by: gonzalez.martin90 on February 19, 2014, 12:45:41 am

Title: Static Sprite Batcher not generating Colliders
Post by: gonzalez.martin90 on February 19, 2014, 12:45:41 am
Hi there!
 i have this issue. I'm using Easy Touch on the Input system and tk2d with the sprite system, if i have a simple sprite with a 2d collider, i can touch it without a problem, but if i do the static batch, i lose colliders and i cannot touch them.
 the Generate Colliders tick is on.

Thanks!
Title: Re: Static Sprite Batcher not generating Colliders
Post by: unikronsoftware on February 19, 2014, 10:19:33 am
The static sprite batcher merges all colliders into a polygon collider. You probably don't want that for touch detection - disable collider generation, and add the collider manually to the batcher.