Create BP Character, name BP_Pig
Replace the mesh to the animal wanted, rotate 90 degree that fit the arrow direction
To event graph
P.S.
acceptance radius (120) = how close want AI stops when it reaches destination
Radius (500) =how far apart is going to be able to get a location
Drag the BP and add NavMeshboundvolume in scene
Now the AI works, but no animations and rotate not natural. To improve it:
Disable rotation yaw of animal BP, in the
in character movement, enable this:
reduce max walk speed to 380cm/s
Create animation BP, name ABP_Pig
Create Blend space 1D, name horziontal axis and add idle, walk, etc
Back to Anim BP, set below graph and add speed variable, check the anim in preview window, by changing default speed between 0 and 350
Go to event graph, promote variable from Cast to BP node, name as Pig:
Continue by drag pig variable, connect to Get Character Movement, Get Velocity variable nodes
Back to Pig BP, viewport, mesh component
Change anim class
In its event graph, increase radius from 500 to 2000 in get random reachable point radius, so it won’t stop so frequent