AI Move To Actor stop & go in 4.12, OK in 4.11

Brian Westley
Sat, 04 Jun 2016 20:48:18 +0000
AI

I’ve verified this with a new 3rd person project in both 4.11 and 4.12

Start a 3rd person project, no extras but with the starting pawn and staircase

Make a duplicate of the ThirdPersonCharacter BP (default name ThirdPersonCharacter2)

Drag the BP to the scene so you have a second pawn

Edit the ThirdPersonCharacter2 BP, add PawnSensing, default is fine, or you can give it 180 degree vision

In the event graph of ThirdPersonCharacter2, add an Event:OnSee and have it MoveToLocationOrActor to the pawn it sees – turn off “Use Pathfinding” so no NavMesh needs to be made

Run in the editor and compare 4.11 to 4.12

4.11 runs as expected – the following pawn just runs after you, and can keep up

4.12 does a momentary stop every .5 seconds (or whatever the Sensing Interval is set to), which has it noticably stop, and makes it lose ground over time

Same behavior in the compiled versions under MAC OS X

16 posts - 1 participant