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"

AI not facing direction they are walking using MoveTo

I don't know how this started happening because everything was working fine before, but now my AI, when walking towards anything using the MoveTo task, don't face the direction they're walking. Here is a video which shows the problem:

https://youtu.be/Gckb8QUbAZo

As you can see, they are not rotating towards the direction they're walking, something the MoveTo task did automatically. I have tried deleting the NavMesh and adding a new one but that didn't work either. Also the filter class was empty, I had just turned it on to see if it was the problem.

Product Version: UE 4.8
Tags:
more ▼

asked Jun 30 '15 at 02:00 AM in Bug Reports

avatar image

SentinelSigma
39 4 10 12

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

2 answers: sort voted first

Okay I managed to fix it, although I'm not sure why this is necessary to do considering it was working fine before. So basically inside of my character blueprint, I checked the "Orient Rotation" inside of the CharacterMovement Component. Now the character's rotation is oriented towards where he is walking (or accelerating):

alt text

I hope this helps anyone else who has this problem.

capture.png (430.7 kB)
more ▼

answered Jun 30 '15 at 02:26 AM

avatar image

SentinelSigma
39 4 10 12

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

Is the model in the blueprint facing the same direction as the arrow component?

more ▼

answered Jun 30 '15 at 02:15 AM

avatar image

devlyn811
349 21 18 35

avatar image SentinelSigma Jun 30 '15 at 02:18 AM

Yes:

alt text

capture.png (391.1 kB)
(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