2D Toolkit Forum

2D Toolkit => Support => Topic started by: oguztecimer on March 20, 2013, 03:34:16 pm

Title: Anchor problem
Post by: oguztecimer on March 20, 2013, 03:34:16 pm
Hello. I just realized that my anchor settings does not work. Whereever i set the anchor sprites still rotate around their center and they initialized based on their center even though i set their anchors elsewhere. Am i missing something?
Title: Re: Anchor problem
Post by: unikronsoftware on March 20, 2013, 03:35:26 pm
Did you set the Unity transform widget to transform around "Pivot" and "Local"? This is the button at the top left of the Unity toolbar.
Title: Re: Anchor problem
Post by: oguztecimer on March 20, 2013, 03:46:17 pm
Yep it works fine now. 
Thanks a lot.
Title: Re: Anchor problem
Post by: unikronsoftware on March 20, 2013, 04:02:32 pm
This only changes how Unity rotates an object. That selection doesn't actually change the pivot/anchor, its already at the correct position.
If you've got it set to center, then it will always rotate from the center, and position will change to compensate for this.