Hello,
I need a suggestion about changing layer order on anim clips on AnyPortrait.
Let me explain within simple objects.
Animation Clip 1:
This is the default order for portrait. And mostly used with this order. However, sometimes I have a specific case which require to change order in 1-2 animation clip depends on the animation.
Brown: Bottom layer
Green: Middle layer
Cyan: Top layer
Animation Clip 2:
In this animation, I must change layer order (only needs to be applied in one of the animation clips due to special case).
Brown: Top layer
Green: Bottom layer
Cyan: Middle layer
The first idea was the changing layer orders, but I don't know if it's possible for animation clip only. Or do you have any other idea how can I implement this in AnyPortrait?
Thanks in advance!
Oh noo! I posted on wrong topic. It was related to this topic here. I'll post again to that topic, sorry.
Hi!
We did not understand the question in your comment.
Is this issue derived from "How to change the Layer Order"?
We understand that this means that the GameObjects are enabled or disabled in "Start" using script functions like the "GameObject.SetActive(bool)", and an error log is generated when the game is started.
Is our understanding correct?
In our simple tests, no errors were found.
GameObjects are normally deactivated during the game through the SetActive function.
If you could provide us with additional information, it would be helpful to solve the problem.
If possible, please provide us with the error log so we can review the issue more accurately.
In particular, we would appreciate it if you could describe the situation in which the error occurred in more detail.
Thank you.
(Our work is now closed, further support will continue tomorrow local time here.)
[THIS COMMENT MOVED TO NEW TOPIC]
Hi!
Some modifiers have the ability to change the order of meshes during animation.
Modifiers that support a property called "Extra Option" allow you to reorder meshes according to Animation Clip or Control Parameters.
Modifiers that support Extra Option are "Transform", "Morph", "Color Only (added in v1.3.3)".
Detailed explanation can be found on the manual page below.
https://rainyrizzle.github.io/en/AdvancedManual/AD_ExtraOption.html
You can also implement it by writing a script and setting the Sorting Order of the meshes directly.
We don't know if it's what you need, but we've attached a page with it.
(This page contains what controls the Sorting Order.)
https://rainyrizzle.github.io/en/AdvancedManual/AD_AttachEquipments.html
If you have more questions about this topic, please leave a comment.
Thank you.