Search Unity

Question Total Impulse duration and looped Impulse

Discussion in 'Cinemachine' started by Apeles, Sep 4, 2022.

  1. Apeles

    Apeles

    Joined:
    May 16, 2022
    Posts:
    5
    Is there a way to set the total duration of Cinemachine Impulse (Screen shake) or to loop the Impulse?
    For example, I would like to pass the total duration and make my ImpulseProfile repeat and shake the camera during that time.

    I've seen the "Time Envelope" properties, but they don't seem that useful for the result that I want to achieve.
    How to loop the Impulse for desired time duration? Triggering Impulse inside the loop obviously doesn't produce the desired result...
     
  2. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    7,711