Hello Guest

Author Topic: StaticSpriteBatcher eating my BoxCollider2D  (Read 4083 times)

jamiltron

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 1
    • View Profile
StaticSpriteBatcher eating my BoxCollider2D
« 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?

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: StaticSpriteBatcher eating my BoxCollider2D
« Reply #1 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.