Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Bug (Case 1326939) Maintain height when Adding new points to SpriteShape

Discussion in '2D' started by CDF, Apr 2, 2021.

  1. CDF

    CDF

    Joined:
    Sep 14, 2013
    Posts:
    1,307
    Whenever you add a new control point to a sprite shape, the height is reset to 1.
    instead, the height should take the previous control point height.

    we're currently doing some sprite shape edge animations in shader, and require the height be very small (0.0125) as the sprite itself is very large, because of animation frames embedded.

    so whenever new points are added to the shape, the height is massive and visuals look bad.

    I might submit a bug about this

    example:
    All points are height: 0.0125
    New point added is 1 height
    The slider also only allows a min height of 0.1!
    eAiPidStOc.gif
     
    Last edited: Apr 2, 2021
  2. CDF

    CDF

    Joined:
    Sep 14, 2013
    Posts:
    1,307
    Case submitted: 1326939