Search Unity

Cull Update Transforms: Doing this at a distance

Discussion in 'Animation' started by joshcamas, Jan 15, 2020.

  1. joshcamas

    joshcamas

    Joined:
    Jun 16, 2017
    Posts:
    1,277
    Animators have the option to Cull Update Transforms, which disables transform writing and other stuff when offscreen. This is awesome!

    However, is there a way to manually force this update mode, such as when the object is far away? I'd still like animation to be running, due to animation events needing to be triggered.

    Thank you!
    Josh
     
  2. Kybernetik

    Kybernetik

    Joined:
    Jan 3, 2013
    Posts:
    2,570
    Probably not, but if you're just trying to save performance you might be able to get something useful by manually updating animations at a slower rate for far away objects.
     
    joshcamas likes this.
  3. joshcamas

    joshcamas

    Joined:
    Jun 16, 2017
    Posts:
    1,277
    Ooh very good idea, I love it!