Announcement

Collapse
No announcement yet.

Looping animation

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    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 :

    Click image for larger version

Name:	Loop.jpg
Views:	1
Size:	280.8 KB
ID:	1141027


    #2
    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

    e.g

    Click image for larger version

Name:	loop.jpg
Views:	1
Size:	111.3 KB
ID:	1061300

    Comment


      #3
      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=KYjI...368myr-Kg2ZLwb
      Last edited by MySurvive; 11-20-2014, 07:28 PM.

      Comment


        #4
        Ok, thanks guys, I'll be exploring this stuff

        Comment


          #5
          Here's a link you will find very useful: https://forums.unrealengine.com/show...l=1#post111956
          Lighting Technical Director | Co-Founder
          Game School Online

          Want to learn Unreal Engine 4 and game development from professionals that have worked on games at studios like Call of Duty, Battlefield, Last of Us, Riot Games, Blizzard, and more? Checkout Game School Online, the first ever fully featured, structured online game development training platform that is completely free, no strings attached: https://beta.gameschoolonline.com/

          Comment

          Working...
          X