16
Support / Re: A few questions on static sprite batcher
« on: March 13, 2014, 05:57:20 pm »The box collider is created based on the sprite. If the sprite has a colliider set up in the collection, the batcher's commit function will create one. The Offset and extents are solely to store the z offset and extents of the box collider. Even if they were just set to zero you should see a flat box collider at that location.
I see. We are using external colliders (to contain all the info in prefabs) and I forgot about build in collider functionality for tk2d.
Now I wonder if I could add colliders to sprite collection from script, converting from data I have in prefabs?