Hello Guest

Author Topic: Static Sprite Batcher not generating Colliders  (Read 2154 times)

gonzalez.martin90

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 24
    • View Profile
Static Sprite Batcher not generating Colliders
« 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!

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Static Sprite Batcher not generating Colliders
« Reply #1 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.