Download

Looping animation

Hello, I need some help in setting up a weapon. It needs to play animation while the left mouse button is pressed and it has to apply radial force until the button is released. It must stop only after releasing the left mouse button.
Here is my graph :

Loop.jpg

You have to use a “event tick” or something similar, because atm it just fires one impulse to the nodes -> so he plays the anim once :slight_smile:

e.g

loop.jpg

Take a screenshot of your montage. Also check out the third person blueprint tutorial (the video) you learn how to set up a montage to keep looping while the left mouse button is held down which is what I’m assuming you need!

------edit!------
The logic for looping the montage takes place in the animgraph… here’s the video I was talking about!

https://www.youtube.com/watch?v=KYjIvi0VZ_Q&index=19&list=PLZlv_N0_O1gZS5HylO_368myr-Kg2ZLwb

Ok, thanks guys, I’ll be exploring this stuff

Here’s a link you will find very useful: https://forums.unrealengine.com/showthread.php?26352-Is-Hit-possible-with-Multi-Line-Trace&p=111956&viewfull=1#post111956