- Home /
How can I use one 2D sprite with different pivot points?
Hi all, I'm working in 2D I have a sprite with a pivot in the center. In one situation, that's great! But now I want to use the same sprite and pivot it in the bottom left in a different situation. Because the pivot of the sprite seems to be tied to the sprite itself and not the Image or SpriteRenderer... it looks like I have to duplicate the sprite to be able to use multiple pivots.
Everything I have found about setting a sprite's pivot explains that you do this in the import settings. The sprite's pivot is aligned to the SpriteRenderer's pivot, so when the SR is pivoting in the bottom left, the sprite is centered on the bottom left. I am looking at possibly doing it in my script, but I'd much rather do it in the editor.
Any help would be really appreciated... it seems a bit off that I would need two files just to pivot on the same sprite differently. Hopefully I'm just thinking about it wrong.
Your answer
Follow this Question
Related Questions
Why are my sprites wierd in Unity? 0 Answers
How can I enlarge the sprite to avoid the movement of the character when the pivot change? 0 Answers
Crop/Mask a Sprite on runtime 0 Answers
How can I change the Unity 5 UI hitbox/collider to fit my complex image? 1 Answer
" " rect lies (partially) outside of texture. Will not generate Sprite for this Slice. 0 Answers