The title says it all, how would I move the position of my pivot point in my 2d Sprite?
Thanks!
3 Answers
3Change the pivot in the import settings. If you want a visual editor, change the mode from single to multiple and use the sprite editor.
I made a tool for setting the Sprite pivot points in the editor while maintaining their world positions: GitHub - thepowerprocess/UnitySpritePivotEditor: Easily edits a 2D Sprite while maintaining its position
![]()
yes do
Sprite.Create(texture,rect,vector2()==pivot);
Would it be possible to set a custom pivot? In the sprite editor, I can only set it to pre-defined positions.
– ypsilonYou can change the pivot to whatever you want using the sprite editor; just drag it to wherever.
– Eric5h5