Search Unity

Please help- How do I keep my rotation after an animation plays?

Discussion in 'Animation' started by SeanGause, Sep 3, 2017.

  1. SeanGause

    SeanGause

    Joined:
    Dec 24, 2015
    Posts:
    127
    I have an L shaped hallway, and at the end you go through a door that puts you back at the beginning. But when the player finishes the "door opening" animation, the player snaps 90 degrees to the left (because that's the direction the camera was facing when the animation was triggered. How can I stop

    If needed, I can provide a video.
     
  2. SeanGause

    SeanGause

    Joined:
    Dec 24, 2015
    Posts:
    127
    The animation is attached to the FPS controller, which is the parent of the camera, if that helps.