- Home /
Sprite Shape spline point order within layer
I'm using Sprite Shape and would like to know if it's possible to render the lower index spline points above the higher index spline points. Alternatively, I'm wondering if it's possible for the sprite to start tiling at the lower indices instead of the higher indices when the spline is extended.
For some context, I'm making a game with a snake character where I want the head to render above the tail if they overlap. I also want the snake's skin to repeat starting at the tail when it grows or shrinks. If I want the former to be true, then the head needs to have a lower spline point index, but then this would mean that the snake's skin sprite would grow at the head if the spline is extended. Adaptive UV doesn't work for me in this case because I want there to be a smooth transition if the spline length is changed during gameplay.
Pic of the snake is attached:
Your answer
Follow this Question
Related Questions
sprite animation not playings 0 Answers
sliced sprite taking part of one above it 1 Answer
Override sprite geometry of sprite generated at runtime 1 Answer
Which sprite atlas goes into an asset bundle? 0 Answers
Need help with sprite rotation 0 Answers