- Home /
Question by
PBUSHER · Feb 26 at 10:24 AM ·
c#animationanimator controller
Animated object ignoring rotation at run time
I have a door that plays it's animation correctly but ignoring its rotation in the scene at runtime and playing the animation with 0 rotation
current code:
{ myDoor.GetComponent().Play("leftdooropen"); }
I'm trying to do this:
{ myDoor.GetComponent().Play("leftdooropen" , //rotated 90 degress on y axis//); }
Not sure how to write it out, thanks for any help
Comment