Announcement

Collapse
No announcement yet.

Is there a way to check which animation is playing within a montage in Blueprint?

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

    Is there a way to check which animation is playing within a montage in Blueprint?

    Hi all,

    I'm creating a multiplayer game and punching is one of the available attacks. I have an Anim Notify State to check every frame within the punch whether collision has occured, but I want to check within my punching montage which animation is playing. That way I can decide to use either the left or right hand collision sphere to check for damage/overlap. Thankfully within the AnimNotify Tick it gives me the animation that's being played, but it only shows up as the 'Punching Montage' and not which animation is being played within the montage.

    Any ideas? Thanks.

    #2
    I figured out a workaround to this. I set two more notifications at the beginning of each punch and used them to set a boolean within the animBP. I cast to AnimBP in the AnimNotifyTick and pull up the boolean to decide which collision sphere to check.

    Comment

    Working...
    X