hi all…
there’s something wrong with my animation…
i’ve done a GUI button script…
which is :
if(GUI.Button(Rect(Screen Width, Screen Height, Size x, Size y),“IDLE”){
animation.Play(“IDLE”);
}
here’s the thing… i know the GUI functions had nothing to do with the animation…
but i don’t know what’s the problem with the animation…
problem is :
when triggered from the GUI Button, the animation plays… but the rotation and the position is off…
what’s the cause of this problem??