2D Toolkit Forum
2D Toolkit => Support => Topic started by: TDippingSauce on January 28, 2015, 02:35:12 pm
-
Hi, I'm using advanced collider for multiple colliders and realized when i set flipX from sprite animator, it seems like origin of advanced collider doesn't flip.
EX) When I Log tk2dSpriteColliderDefinition.origin, let's say initial value is (0.6, 0.6). it should be (-0.6, 0.6) when i flip sprite horizontally but still it gives me (0.6,0.6).
Is this intended or a bug?
-
That is intended, but I can see why it isn't ideal. The collider definition is readonly (its in an asset), and changing it at runtime isn't a good idea.