how to apply a visual effect on an animation ?

so let’s say i have a certain visual effect and an animation , how do i apply the vfx on the animation ? preferably a way to make damage to the enemy too , and no im not talking about anim trails , just other ones , and thanks

Are you talking about particle effects ?

If you are talking about particle and sound effects, the best way to set them up according to an animation would be through an anim notify. In your animation, you can right click on the notify section and add a new one. You can either use the ones already created to spawn a particle or sound effect.
If you want to spawn something else, you can create a custom anim notify and then in the event graph of your animation blueprint, create an event to be triggered when this animNotify is fired.

I don’t know how familiar you are with notify so tell me if you need more details.

any type of effects to be exact

Ok I’ll put up a quick example for you, I hope it will help you understand how to do anything during an animation.

During any frame of any animation, you can add an event called an Anim Notify. Do do that, you just right click in the notify section in the animation and choose the type of notify you want to use. For instance here I want to play an explosion effect in the middle of the jump start animation. So I add a “Play particle effect” notify and fill the details panel on the right to tell it which effect I want and where I want it to spawn.

If you want to do something very specific, not just play a particle or sound effect, you can create your own notify. Create a notify just like before but this time choose Add Notify → New Notify. Give it a name that you will recognize.

246627-mynotifyanim.png

Now, you can go to the event graph of your animation blueprint. From here you can right click anywhere and search for your notify’s name, you should find an event Called “Event AnimNotify_YourNotifyName”. This event will be called everytime the animation passes the point where you put your notify. Implement any behaviour you want here!

246628-notify-script.png

Here when I jump, I spawn an explosion and a message is printed on the screen :

In this video, there is an example of particle spawning using notifies, the whole tutorial is actually worth watching in terms of animation setup etc …
[Tutorial][5]

Hope this helps =)

1 Like

mate i appreciate that , to be honest if you provided some details about that , it would be awesome , and for example what im focusing on is the different effects that happen in one attack , like sword swings and the last hit effect is different , and stuff like that , and thank i really appreciate ur assistance

i appreciate that mate ^^ , now what’s left for me is the collision and damage , but thanks so much for ur help )