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"

Having some issues with my animation blueprint

G'day!

So, recently i've just finished setting up character movement while referring to one of the documents in the gameplay guide section. Movement blueprints are working as intended, so are all the inputs. But for some reason, one of the animation transitions, particularly the idle_rifle_hip to Walk_BS transition, is unable to be read properly.

Playing in the preview window, the walking animations function just fine, but when i try to crouch, jump or go into a prone state, animations don't play and instead i get a glitched walking blend space animation.

I've checked various times to determine if i have genuinely followed the instructions thoroughly, and yet i still can't figure out what the the problem is. alt text

Product Version: UE 4.20
Tags:
screenshot-40.png (700.7 kB)
more ▼

asked Nov 05 '18 at 03:40 PM in Blueprint Scripting

avatar image

silentsonic888
1 1 1

avatar image silentsonic888 Nov 05 '18 at 04:08 PM

I should also mention i've added the animation starter pack to a blank project with starter content.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Try setting isFalling to a bool variable on the update animation event in the event graph instead of the Anim Graph, and then just call that variable in the transition rule. I don't think you can call functions like that in the Anim Graph, at least not in a transition rule.

more ▼

answered Nov 05 '18 at 05:07 PM

avatar image

PixelOmen
612 21 15 35

avatar image silentsonic888 Nov 09 '18 at 01:50 PM

Alright, done that, but now i seem to be facing some new problems, particularly on the Crouch_BS to Jog_BS transitions and vice versa. I'm a novice by the way, so i'm not entirely confident nor absolutely certain about my abilities to develop assets in UE4.

avatar image silentsonic888 Nov 09 '18 at 01:50 PM

alt text

screenshot-42.png (669.1 kB)
avatar image PixelOmen Nov 09 '18 at 04:21 PM

I think it's the same deal. Don't try to call your player character or player controller inside a transition rule. Do that kind of stuff in the event graph and set variables based on what you need.

From what I understand the AnimGraph is mainly for dealing with animations and bones, so you only want to call functions that deal directly with those. Functions that call to other classes/BPs should probably be done in the event graph.

avatar image silentsonic888 Nov 14 '18 at 02:27 PM

Alright. Thanks for the advice. I find it pretty funny how the tutorials provided by Epic don't always work as intended, especially in later versions of the engine.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
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