Hello
Guest
Home
Help
Search
Login
Register
2D Toolkit Forum
»
2D Toolkit
»
Support
»
StaticSpriteBatcher eating my BoxCollider2D
« previous
next »
Print
Pages: [
1
]
Author
Topic: StaticSpriteBatcher eating my BoxCollider2D (Read 4083 times)
jamiltron
2D Toolkit
Newbie
Posts: 1
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?
Logged
unikronsoftware
Administrator
Hero Member
Posts: 9709
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.
Logged
Print
Pages: [
1
]
« previous
next »
2D Toolkit Forum
»
2D Toolkit
»
Support
»
StaticSpriteBatcher eating my BoxCollider2D