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"

Mixamo Animation Help

Hi am trying to use the mixamo Adam character as an enemy in my game. And I have modified the animation blueprint provided to trigger him to use his attack animation when he attacks me. I want him to use his slash sword animation, but instead he is using his shooting gun animation. I don't understand why it is defaulting to the shooting animation. I don't know where you are supposed to specify which animation to use. Please help I can send pictures and files if needed.

FYI I am following the examples in the book "learning c++ by creating games with ue4" and I am on Chapter 11.

Product Version: UE 4.9
Tags:
more ▼

asked Oct 25 '15 at 12:07 AM in Blueprint Scripting

avatar image

EWalk13
1

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

3 answers: sort voted first

i would take a look into their base class (parent class, adam is derived from) as values get read from the character class into the anim blueprint specified on the skeletal mesh inside the character blueprint

more ▼

answered Oct 25 '15 at 06:36 AM

avatar image

makai
434 26 17 43

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

Hmm... I looked in the parent class, but I didn't see anything. I am very new to unreal so I still don't understand how everything works. Here is my blueprint.alt text

I added the AnimNotify_SwordSwung. When I break the links the attack animation doesn't play, but when they are connected it plays the shooting animation. The book I am following never told me where to specify which animation should play. I did the same thing as them and their's just plays the right animation.

more ▼

answered Oct 25 '15 at 07:08 PM

avatar image

EWalk13
1

avatar image makai Oct 25 '15 at 10:13 PM

im actually not at my workstation so i can. not look into the mixamo stuff, but you will find a state machine inside the anim blueprint. i would take a look to the very first unreal tutorials by zak parrish which handles animations in state machines. in the update of your animBP you read all variables you gonna need, and your state machine handles the animations depending on those variables. so the flow is like this pawn variables->animBP update (create new variables you need inside animBP and read them out from your pawn inside update)->state machine

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

Thank you! I actually figured it out! I found the attacking state anim graph and changed the animation.

more ▼

answered Oct 25 '15 at 11:12 PM

avatar image

EWalk13
1

avatar image makai Oct 26 '15 at 07:06 AM

nice mate, have fun :)

(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