Is there a way I can rotate the portrait object. When I start my game the rotation of the object goes back to 0,0,0 and cannot be changed.
Hi!
Your question is so broad that it's difficult for us to know exactly what the problem is.
Is your question about rotating a GameObject with an AnyPortrait character component (apPortrait) after the game starts?
Or does it mean that objects within the character (meshes or bones) don't rotate after the game starts?
When using Mecanim, if the GameObject position is forced to (0, 0, 0), refer to the "Points to note when using Mecanim" item in the following manual.
https://rainyrizzle.github.io/en/AdvancedManual/AD_Mecanim.html
Or, check if you use the "Billboard" option.
If you turn on the "Billboard" option, the character will automatically rotate to face the camera.
So your rotation control can be overridden by this function.
In this case, as described in the manual in the link above, you will need to create an "Empty Parent Game Object" and control it.
(Even so, if you were using a Billboard, the rotation of the character itself is not externally controlled.)
It could be conflicting with another script or other component, or maybe the animation settings are wrong.
If that doesn't work, please leave a comment with more information about the situation you're in.
Thank you.