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"

Flying pawn's animation blueprint works only below grid, why?

I have a flying pawn. I made an idle and forward animation (basically just wings flip down). I made a blendspace 2D, set the speed variable, constructed the nodes the way i saw it in multiple tutorials and yet, the animation of the wings flipping down happens ONLY when i fly low enough - specifically below the grid. I export my animations, skelet and mesh from blender and i know it tends to mess things up, thats why i checked the axis and scaling and when i import my .fbx files, i make sure that "Convert scene" is unchecked. Still it behaves as it behaves.

Weird thing is, that the animation behaves kinda fine, but only below the grid. If i slow down, or stop even, the animation blends from forward to idle, which is correct. The only bad thing is, that it feels as if it was "enabled" in some area which is only below the grid. I dont know if it has something to do with Z axis, but even if it did, i dont know how to name the issue to search for it.

Also, in the Event graph of my animation bluepring, if i drag the exec from "Is Valid" then it doesnt work at all. If i drag it from "Is not Valid" then it works at least under the grid.

I am even willing to call with anyone who would know what to do. This project is quite important to me and without blending animations i'm lost.alt text

Product Version: UE 4.21
Tags:
untitled-3.jpg (549.3 kB)
more ▼

asked Mar 04 '19 at 02:19 AM in Blueprint Scripting

avatar image

Asgeir42
1

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

1 answer: sort voted first

I'm not sure why are you getting that strange behavior, but there are some errors in your blueprints, so let's fix them at first.

1) Attach TryGetPawnOwner output to the input of IsValid. Now you are checking nothing, so IsValid is always false. alt text 2) You do not need such complex AnimGraph. You don't need to use StateMachine for blending between 2 animations. Just do everything in main AnimGraph. alt text

Another thing that I've noticed is that your blendspace max value is 500. Did your pawn actually reach speed of 500? Please double check it. If it does not help you, just try to debug you blueprints with integrated debugger. Anyway if the problem still exist, I'll be glad to assist you further.

eventgraph.png (107.8 kB)
animgraph.png (47.1 kB)
more ▼

answered Mar 07 '19 at 12:40 PM

avatar image

shh---
104 1 3 9

(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