Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Question Camera animation imported from blender is offsetting the cameras position.

Discussion in 'Animation' started by Tampopo_, Feb 26, 2023.

  1. Tampopo_

    Tampopo_

    Joined:
    Jan 31, 2023
    Posts:
    1
    I'm trying to add animation to my player camera but for some reason when I do it transforms the camera far above the player's head, despite having a script transforming the camera position to the top of the player's head. I'm assuming that the transform of the animation is set high up, but when I looked it's actually set below the player at -0.000150755 (I imported this animation from blender). The scale also says it's at 100, which might be why as well, but when I attempt to change the scale in the inspector the box gets red and doesn't change. And when trying to change it in the animation window it is greyed out. This might be because the preview window is marked as (read only) but does this mean that the animation has to be changed in blender? and how would I go about setting the origin of the blender camera to 0 so it would be the same in unity? Hella confused, thank you for any help.

    tldr: I'm importing animation from blender but it's offsetting my camera position somehow. How do I fix this while keeping the animation?
     
  2. donotprikel

    donotprikel

    Joined:
    Nov 14, 2022
    Posts:
    16
    i had the same ishue with player look scripts in unity i think re adusting the animation may help thats all i know.:(