- Home /
How to set pivot points automatically in sprite editor?
I have a sprite sheet to slice using grid mode. I'm willing to set the same custom pivot point for each tile instead of the already available ones such as 'center' or 'top left.'
How would I go about doing this automatically? I don't want to have to set it manually for each slice. And I don't want to use other strange gimmicks involving increasing the size of my sprite sheet.
Thanks.
Do you want every tile to have a different pivot, or do you mean setting them all to the same, but not one listed? eg. (3,7) or something.
The latter. Actually I didn't think the former would be possible at all, but if it is then I wouldn't have to go grid-based.
Anyway yeah. The latter.
That should be do-able. You might be able to select all the pivot points and move them at once. But, there should be a programmatic way to do it. I'll see what I can find.
Answer by Zbigniew Wiadro · May 12, 2016 at 08:03 AM
Here is the solution: http://answers.unity3d.com/questions/761009/unity2d-sprite-editor-multiple-pivot-point-edit.html
Thanks! I've seen this answer and have been using this plugin for a very long time. Very useful. Sorry for taking too long to accept as answer.