Search Unity

How to add a partical system to my animation

Discussion in 'Getting Started' started by unity_FcSMxBacO5jlIw, Sep 10, 2019.

  1. unity_FcSMxBacO5jlIw

    unity_FcSMxBacO5jlIw

    Joined:
    Sep 10, 2019
    Posts:
    1
    Do I have to use script to combine my punch animation with a vfx to give it more oomph or is there a way to doit without anyscript?
     
  2. JoeStrout

    JoeStrout

    Joined:
    Jan 14, 2011
    Posts:
    8,130
    I think it depends on how your punch animation is made. If it's created and edited within Unity, then yes, you can simply activate the particle system as well. But if it's an imported animation, then you can't. But I believe you can still add animation events to an imported animation; so you could use one of these to trigger the particle effect. Or, you could add a StateMachineBehaviour to your animator controller, and trigger the vfx with that.

    HTH,
    - Joe