Search Unity

Question How can I loop a "Cinemachine Impulse Source"?

Discussion in 'Cinemachine' started by Peter77, Aug 7, 2020.

  1. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    6,619
    I have a Cinemachine Impulse Source that I want to loop. I want to play a "6D Shake" as long as the player character is grinding on a rail. When he jumps off the rail, I want to stop the Impulse, so it plays the decay envelope and vanishes.

    How would I do this?
     
  2. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    7,728
    flashframe and Peter77 like this.
  3. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    6,619
    Alright, thanks for the quick help!