2D Toolkit Forum

2D Toolkit => Support => Topic started by: kenshin on August 30, 2013, 01:33:05 pm

Title: collider issue ...
Post by: kenshin on August 30, 2013, 01:33:05 pm
At design box then collider is fitted and positioned to the sprite but when I run the game collider is positioned different from the sprite. It, however, must be ont the sprite, but not ! I do integrity check, rebuild indexes but it is not solved. I have changed collider from user defined to boxed, but nothing has changed: collider is not placed on sprite. why and what can i do to solve this ? 
Title: Re: collider issue ...
Post by: unikronsoftware on August 30, 2013, 01:49:34 pm
I don't think I understand - could you email a screenshot / sample project to support at unikronsoftware.com please
Title: Re: collider issue ...
Post by: kenshin on August 30, 2013, 02:35:55 pm
When I remove sprite animator but not the sprite, the collider is placed on top of sprite. In game, it is ok also. When I however add a sprite animator, the problem is repeated, the sprite and animator is at diffrent postions.

When I delete sprite and create sprite with animator then happened again. I have debugged the issue and seen that when animation starts playing this happens. I have deleted all of my scripts and observed that result. I have send screen shots as email.

thanks for support.