Y position of objects in Unity
Is the Y position of objects in unity given by their pivot point? Or is it their center? I have set a few custom pivots on my sprites in order to sort them based on Y-positioning (I'm working in 2D) but it's not going so well...
Additionally, why does an object's 2d box collider appear to shift when I change its pivot? Thanks.
Comment
Best Answer
Answer by Deeblock · Apr 30, 2018 at 12:59 PM
I've found out that the position of objects in unity is given by their pivot point as set in the sprite editor. Also, the box collider of objects will be centered around their pivot point when it moves, so you have to manually edit it again.