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.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Question I want to export the camera movements of Cinemachine Cameras to Maya.

Discussion in 'Cinemachine' started by shirai0708, Aug 23, 2022.

  1. shirai0708

    shirai0708

    Joined:
    Jun 19, 2020
    Posts:
    4
    Hello.

    I would like to export the camera movements of Cinemachine Cameras to Maya based on the following question

    https://forum.unity.com/threads/imp...bx-bake-camera-keyframes.545337/#post-3639340


    Before that, I did an animation clip bake of a camera animation created with cinemachine virtual camera in unity environment using Recorder Track in timeline, but the Transform value of the original camera is not the same.
    The Transform value of the original camera is not the same.

    https://forum.unity.com/threads/imp...bx-bake-camera-keyframes.545337/#post-3874885

    Am I missing some settings on my end? And can't I create the same values by baking the camera values?

    If you look at the youtube video, Main Camera_2 (cinemachine virtual camera movement camera) RecCamera (camera that baked the movement of Main Camera_2)
    You can see that the Transform values are different.


    I hope you can answer my question.
     

    Attached Files:

  2. vladala

    vladala

    Unity Technologies

    Joined:
    Mar 3, 2017
    Posts:
    188
    Hey,

    Could you please do the following tests:
    1)Export the Cinemachine camera as an Animation clip (animation recorder) and check that the exported animation is the same as the Cinemachine Source
    2)If 1 works, export the Cinemachine Cam as FBX and reimport in unity and tell me the result.
     
  3. shirai0708

    shirai0708

    Joined:
    Jun 19, 2020
    Posts:
    4
  4. shirai0708

    shirai0708

    Joined:
    Jun 19, 2020
    Posts:
    4
    vladala Were you able to download it after that?
    Did you get confirmation?

    We're trying to track down the cause of the problem here, but we're not getting much in the way of results.
     
  5. vladala

    vladala

    Unity Technologies

    Joined:
    Mar 3, 2017
    Posts:
    188
    No I have not.
    I have tried from scratch and I am able to record a cinemachine powered cam into a pure animation track and it is exactly the same.
    The best way to proceed is to create a stupid simple project that reproduces the problem and file a bug report. The tool will pack your project and send it over and a QA can help you.
     
    Last edited: Sep 8, 2022
  6. cguertin

    cguertin

    Unity Technologies

    Joined:
    Aug 20, 2019
    Posts:
    83
    Hey @shirai0708, could you try disabling all damping options in the CinemachineVirtualCamera component and record one more time?
    Screenshot 2022-09-08 163520.png

    There is a little bit of Cinemachine damping by default. It doesn't have any effect when simply scrubbing the Timeline but starts getting evaluated once you enter Playmode and it will slightly affect the animation (and so the recorded animation values will include damping and be slightly different than the original keyframes).

    Let us know if that helps or not!
     
    gaborkb likes this.
  7. shirai0708

    shirai0708

    Joined:
    Jun 19, 2020
    Posts:
    4
    cguertin sorry for the late reply
    horizontal damping
    When
    vertical damping
    When the value of is set to 0, the movement of the camera of the camera became completely the same
    thank you very much, i appreciate it
     
    gaborkb and cguertin like this.