Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

How to trigger animations randomly wihout scripts?

Discussion in 'Animation' started by CloudyVR, Jan 10, 2021.

  1. CloudyVR

    CloudyVR

    Joined:
    Mar 26, 2017
    Posts:
    714
    I am creating a scene for a game and would like to add lightning flash sprite animations that randomly appear in the scene. I would like the animation to appear random but the map can not include custom scripts.

    Is there any way I can create a few lightning flash animations that repeat but have random delay between them?

    Or any way to create an effect that appears as random?
     
  2. Kybernetik

    Kybernetik

    Joined:
    Jan 3, 2013
    Posts:
    2,554
    Particle systems have inherent randomness if you can get the effect you want with them, but there's no randomness in the animation system so you would need a script for that.