2D Toolkit Forum
2D Toolkit => Support => Topic started by: tgwm on March 09, 2014, 02:33:26 pm
-
Hi, Is it possible to add box collider to game objects that are included in the sprite batcher?
For example.
Static Sprite Batcher
- Child A
- Child B
- Child C
every child with a separate collider?
Thanks
-
No, the static sprite batcher only batches colliders from sprites. If you want you can create a transparent sprite and then use that to create the colliders.
-
Another question
When the static sprite batcher is not committed the number of tris and vertes are less and when it is committed, tris are more( as per the example provided in the 2d package) .
-
It should be exactly the same, but in that sample 2 of the tiles are out of view, and culled when not committed.