Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

import options in 2020.1

Discussion in '2020.1 Beta' started by laurentlavigne, Mar 28, 2020.

  1. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    6,105
    The up vector option is a godsent!

    Could we also get a "visibility keyframes as activate" option?

    Why:
    Currently when keyframing vibility, it's imported as renderer.enabled keyframes instead gameObject.active.

    The problem with that 3D animation softwares do visibility inheritance (gameobject.activate) so when you keyframe the parent the children hide as well, with import keyframing renderer.enabled instead, that breaks as it won't hide the children.
     
  2. JoNax97

    JoNax97

    Joined:
    Feb 4, 2016
    Posts:
    611
    Ideally they would add an option to use gameObject.active or renderer.enabled with copy of the key to the children. Just disabling the renderer is less intrusive as you may want to keep other components enabled.
     
    laurentlavigne likes this.
  3. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    6,105
    That's a good alternative.