Search Unity

  1. Unity 2019.2 is now released.
    Dismiss Notice

edit texture pivot

Discussion in '2D' started by funshark, Nov 13, 2013.

  1. funshark

    funshark

    Joined:
    Mar 24, 2009
    Posts:
    225
    Hi,

    is there a way to change the pivot of a texture without using the sprite mode : Multiple ?
    Specifically when there is only one sprite on the texture :)
    Some shortcut, script, anything?
    It is something really important to animate so it would be great to have the possibility to edit them on the fly;
     
  2. MaskedPixel

    MaskedPixel

    Joined:
    Oct 14, 2011
    Posts:
    8
    If you have multiple sprites selected, you can control click on the origin to move it. But I haven't gotten that to work with a single sprite.
     
  3. funshark

    funshark

    Joined:
    Mar 24, 2009
    Posts:
    225
    What do you mean by "the origin"? In which window?
    I can edit the pivot point in the sprite editor ( with the multiple sprite mode ) but without using Ctrl
     
  4. sonee

    sonee

    Joined:
    Sep 2, 2012
    Posts:
    18
    I also cannot find anything to adjust pivot point. It seems that there is nothing to edit it in single sprite mode. Is it intended to use multiple mode for editing pivot point?
     
  5. Eric5h5

    Eric5h5

    Volunteer Moderator Moderator

    Joined:
    Jul 19, 2006
    Posts:
    32,149
    Set the pivot to "custom" in the inspector.

    --Eric
     
  6. sonee

    sonee

    Joined:
    Sep 2, 2012
    Posts:
    18
    There is only two edit boxes, not any point in sprite editor with single sprite texture. But editor allows to move the pivot point with multiple sprite texture.


     
  7. Lukas H

    Lukas H

    Joined:
    Jan 16, 2009
    Posts:
    394
    I can only enter values that way, not by a visually dragging the pivot circle. I must be missing something?
     
  8. funshark

    funshark

    Joined:
    Mar 24, 2009
    Posts:
    225

    I second that.
    indeed, there is a Custom option, but the Sprite editor ( and so, the possibility to move the pivot visually ) isn't accessible unless you select the Multiple Sprite Mode.

    edit: nevermind, it's at least for sprite animation -----Another question for you guys : what is the purpose of the child object ( the sprite I suppose ? ) under any texture in 2D Mode ? Is it only to inform you that it is a sprite object? I don't see any option related and it opens nothing.
     
    Last edited: Nov 15, 2013