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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

MoveTo failing when Player jumps


I have a basic system where a enemy character chases the player when the 'Chase Player' event is called.

The problem is that in some parts of the level, when the player jumps, the 'AI MoveTo' node fails and the enemy just stops. I couldn't discover what may be causing the move to fail on these specifics parts of the level. They are fairly open areas and I don't see anything blocking the NavMesh.

Here is the setup for the enemy character: alt text

And here are the Details for the RecastNav Mesh: alt text

What could be causing the MoveTo to fail? Is it the NavMesh?

Thanks, Dan Zaidan.

Product Version: Not Selected
img1.png (399.5 kB)
img2.png (77.3 kB)
more ▼

asked Jul 23 '14 at 08:05 PM in Using UE4

avatar image

220 17 15 23

avatar image Alan Webster Jul 23 '14 at 09:09 PM

I have had the same problem on a few different occasions, and it is something to do with the z axis difference. i have a tall main character and a Shorter Ai character following me. for the move to nodes to work i have to put a -100 Z axis in the location to move to. but still when i jump the following Ai character stops moving. it is also been a problem with line tracing. sory I've not found a solution yet, ill post here if i do

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

1 answer: sort voted first

Thanks for your comment. After reading it I thought of a workaround: I created an Actor Blueprint with an invisible sphere component. It would follow the player location if the player is not jumping. If he is the sphere would follow his X and Y values and his last Z value when on the ground. Then I set the enemy to MoveTo this actor instead of the actual player.

alt text

It worked fine to fix the 'stopping when player jumps' bug. But I still don't like it.

I'll leave the question opened so if someone finds the actual answer he can help us (and whoever more has this problem). :)


img3.png (228.6 kB)
more ▼

answered Jul 23 '14 at 11:37 PM

avatar image

220 17 15 23

(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