[4.13.0] AI MoveToLocation no longer working
Just updated my project to 4.13.0 to experiment with the new features. Whilst the game is intact and no major issues are evident, the MoveToLocation call no longer functions. The result in the code is "Success", but the AI characters are no longer working correctly and are just standing still. The navigation mesh is working as intended and generating during runtime and all settings on the CharacterMovement component seem OK.
Are there any new settings I should be aware of? The changelog doesn't have much regarding navigation when compared to everything else.
asked Sep 02 '16 at 05:32 PM in C++ Programming
I managed to solve my problem a while ago so I thought I would post an answer in case people are still having issues with this. Prior to 4.13, you could tell the AI to move to the same location every frame and it will work fine. However, now, you need to only call it once, otherwise the movement functionality in the AI classes will reset each time - hence my enemies standing still.
I added some logic that only called the AI move function if the distance between the player's location and the AI's player "known" location is greater than a set threshold.
answered Dec 31 '16 at 05:49 PM
same here, but happen in blueprints.
answered Sep 09 '16 at 11:33 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here