Search Unity

How can I make a Timeline work with AR?

Discussion in 'Timeline' started by StLouis24, Aug 20, 2019.

  1. StLouis24

    StLouis24

    Joined:
    Jun 20, 2019
    Posts:
    2
    Wonderscope.jpeg Hello,

    I'm trying to make a short AR story with AR Foundation (a little bit like Wonderscope) where I place an AR scene on a real-world table and then have everything play through Timeline.

    In my test, I am trying to place a Cube in AR and then make it spin by activating a Timeline through the tap of a button.

    I can place the Cube in AR, but when I tap the button to make the Cube spin/Timeline play, it pops to the origin (where my phone was in physical space when opening the app) and then spins from there.

    I clicked the checkmark for "Apply Root Motion" in the Animator component of my Timeline and that doesn't seem to make a difference.

    Could somebody please help me or offer a pointer to a tutorial?
     
  2. seant_unity

    seant_unity

    Unity Technologies

    Joined:
    Aug 25, 2015
    Posts:
    1,516
    Change your animation track to 'Use Scene Offsets'. That will make it start animating from it's current location, instead of a fixed location.
     
    StLouis24 likes this.
  3. StLouis24

    StLouis24

    Joined:
    Jun 20, 2019
    Posts:
    2
    That did the trick!! Thank you VERY MUCH. This has been frustrating for a long time. Really appreciate it.