Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

UI Image filled radial from bottom.

Discussion in 'UGUI & TextMesh Pro' started by Griffo, Apr 25, 2016.

  1. Griffo

    Griffo

    Joined:
    Jul 5, 2011
    Posts:
    693
    Hi,

    I have a problem, if I use the first sprite below the radial goes all the way round, but if I use the second sprite it does not, the radial is not projection from the centre of the sprite, both are 512x512.

    Can someone please tell me why it does this, and can I get the second one to work like the first?

    I've added a video zipped for you to take a look at.

    Thanks.

    Image_00.png Image_01.png
     

    Attached Files:

  2. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    7,795
    Can you share the project?
     
  3. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    8,903
    Try mesh type: full rect ? (advanced importer settings)
     
  4. Griffo

    Griffo

    Joined:
    Jul 5, 2011
    Posts:
    693
    Sorry can't share the project it's Gb's big ..
     
  5. Griffo

    Griffo

    Joined:
    Jul 5, 2011
    Posts:
    693
    @mgear sorry you've lost me! it's a texture saved as a Sprite (2D and UI) where are the full rect, advanced importer settings?
     
  6. Griffo

    Griffo

    Joined:
    Jul 5, 2011
    Posts:
    693
    @karl.jones I've done a work around by removing all the unwanted circle except 1 pixel on the far right hand side, in game you cannot see it but it makes the radial go all the way round.

    When going to edit sprite it shows as 512x512 with the pivot centre, all looks correct.
     
  7. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    8,903
    from the sprite import settings, when texture type set to advanced:
    upload_2016-4-25_21-15-13.png
     
  8. Griffo

    Griffo

    Joined:
    Jul 5, 2011
    Posts:
    693
    Sorry can't see that, I only have ..
     

    Attached Files:

  9. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    8,903
    Needs sprite mode, other than 'none'
     
  10. Griffo

    Griffo

    Joined:
    Jul 5, 2011
    Posts:
    693
    @mgear Thank you that's done it, it's working as expected now ..