Download

ai move to location is not walking, but teleporting

hello, i was trying out stuff to control a pawn…

for some reason, i cant make the pawn move / navigate the map with ai controller…

i wanted that when i press space bar, i send a location, which the pawn should walk / navigate to.

but the ai controller., instantly teleports the pawn to the destination…

see attached images of the pawn, player controller and ai controller…

any idea how i can make it work like the point and click character in the blueprint topdown template?..

  • only that the ai is controlling…

First, have you established a Nav Mesh volume on your level?

Second, I believe you may want to use “Simple Move To Location” instead of the “Move To Location”, but I may be outdated on that information.

yes, there is already a navmesh in the level.
originally it was ‘simple move to location’, didn’t work, so i tried using ‘move to location’

i tried making a character class blueprint, somehow it worked with this…
i think this code doesnt work with ‘pawn’ class actors…

so, does that mean, all my units, enemies should be character class? im confused now…
i thought character class was for fps / third person/ player controlled…

and pawns are moveable actors thru player/ ai controller…

Ahhh, there’s your issue. Yes, they should be based on Characters. Characters have in-built movement, Pawns do not.

but ain’t pawns have floating pawn movement?..

I can only relay the information to you, I don’t know the reasons why. :slight_smile: