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"

Player animation walks one direction until he falls off the map

I was trying to figure out how to add animation to my character and I was following this tutorial (it's a little out of date, but I figured out how to work around the changes):


Before the animation, my character movement worked fine and I changed nothing, so the issue cannot be in my FirstPersonCharacter blueprints. The issue came from something I wrote, but me being fairly new to UE4, I can't seem to find my mistake. I will post screenshots of where I think I may have messed up. If anybody can point me in a direction of what could be causing this issue, I would greatly appreciate it. Hopefully these screenshots will be enough, but if you need more, I can send more.

Important Notes Regarding the Issue:

-The character will continue to walk in one direction

-Nothing stops the player from moving

-Plays the walk forward animation

-Can jump, crouch, and prone, but cannot move left, right, or backwards

-Turning a different direction does not change the direction the player will move (I can be looking left, but the character will still move in the direction the character was originally facing when the game started.)

alt text

alt text

alt text

alt text

Product Version: UE 4.16
more ▼

asked Aug 03 '17 at 03:36 AM in Blueprint Scripting

avatar image

5 2 5

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

1 answer: sort voted first

The animations shouldn't have anything to do with how your character actor moves around, unless you are using root motion on said animations so make sure you aren't doing that. After that I would look over the player controller / actor blueprints to find what is making the character constantly move since it must be coming from there, (or previously stated root motion). If you want to make 100% sure the animations have nothing to do with the movement, just deselect the animation bp from the actor, (its under the mesh in the character actor), this will cause it to not use that blueprint at all.

// I hope that helped somewhat.

more ▼

answered Aug 03 '17 at 12:47 PM

avatar image

376 12 5 17

avatar image senrgames.dev Aug 04 '17 at 03:26 AM

Okay, you were correct about the animation not having anything to do with it. That's what I thought also, but I thought I didn't change anything in my FirstPersonCharacter class. By deleting parts of code that I found suspicious, I narrowed the issue to this block of code.

alt text

I'm suspecting that something is triggering disable movement and not allowing me to move left and right, but it doesn't make sense because I am still able to jump and stuff. I would have to look at the tutorial again, but I'm pretty sure I did what the tutorial said to do...

screenshot (12).png (239.7 kB)
avatar image senrgames.dev Aug 04 '17 at 03:31 AM

Well...silly me. Forgot to plug in "Axis Value" into "Scale Value." Thanks for helping me narrow down the issue to FirstPersonCharacter, otherwise I would've went through the whole animation blueprint. Much appreciated Kipplinger!

(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