Closed benloh closed 1 year ago
charControlled characters a have zIndex of -100 so that they appear behind NPC characters. Otherwise if they appear on top of NPC characters, the NPC characters are not selectable.
NPC characters by default have a zIndex of 200.
See https://gitlab.com/stepsys/gem-step/gsgo/-/wikis/Scripting/ZIndex
I'm not sure what you're wanting to change.
In GitLab by @jdanish on Aug 20, 2021, 15:43
I think we want the opposite because currently the character controller characters can get lost behind other things and are hard to find. Short term I solved the issue by moving all NPCs back to -200. But it might be more intuitive for kids if they can just set the bunny to 0 or 100 or whatever. It does seem odd that the definition is being overridden.
Low priority since I worked around it.
So you don't mind that NPC characters become unselectable behind a charcontrolled character? I think we had added this fix because in Aquatic you couldn't click on an Algae if a Fish was in front of it.
In GitLab by @jdanish on Aug 20, 2021, 16:03
Yeah - now that we can control them both with character control or pozyx it’s not an issue.
added 15m of time spent
In GitLab by @jdanish on Aug 20, 2021, 13:38
In aquatic and decomposition, if you add a bunny by creating it in charController, it always sets to zIndex of -100. I re-arranged all the other characters so that it isn't an issue, but as a low-priority it'd be nice to be able to set the bunny (or whatever) to just be higher up instead (e.g., set it to 100).