Welcome,
Guest
. Please
login
or
register
.
April 29, 2026, 06:13:06 AM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Sprites moving behind other objects in z (nested panels)
« previous
next »
Print
Pages: [
1
]
Author
Topic: Sprites moving behind other objects in z (nested panels) (Read 2211 times)
laurentl
Full Member
Thank You
-Given: 0
-Receive: 0
Posts: 188
Sprites moving behind other objects in z (nested panels)
«
on:
May 08, 2013, 02:54:56 AM »
I want to order textures. I use panels for that.
It works well except that panels order get mixed up when one panel rotates behind another.
https://www.youtube.com/watch?v=L0Q4mKoGnbg
Logged
McDROID!
http://www.mcdroidgame.com/
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: Sprites moving behind other objects in z (nested panels)
«
Reply #1 on:
May 08, 2013, 06:23:28 PM »
That's how Unity works. It sorts objects based on distance from the camera to the center of the drawn object. Instead of rotating, consider scaling instead (shrinking X).
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Sprites moving behind other objects in z (nested panels)