x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

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

Product Version: UE 4.18
Tags:
more ▼

asked Jul 07 '18 at 06:30 PM in Using UE4

avatar image

electronicvision
20 4 5 12

avatar image ZazarLaLiche Jul 07 '18 at 06:48 PM

Are you talking about particle effects ?

avatar image electronicvision Jul 08 '18 at 01:33 PM

any type of effects to be exact

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

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.

more ▼

answered Jul 08 '18 at 01:46 PM

avatar image

ZazarLaLiche
213 2 3 5

avatar image electronicvision Jul 08 '18 at 05:21 PM

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

avatar image ZazarLaLiche Jul 08 '18 at 05:38 PM

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. alt text 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.

alt text

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!

alt text

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

alt text

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

Hope this helps =)

notifyparticle.png (623.9 kB)
mynotifyanim.png (48.6 kB)
notify-script.png (33.6 kB)
endresult.png (1.2 MB)
avatar image electronicvision Jul 09 '18 at 03:39 PM

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

(comments are locked)
10|2000 characters needed characters left
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question