I’ve got a pawn with a Floating Pawn Movement component. It has the default AI Controller, and I’m trying to get it to move using Simple Move To Location. It does not move, and I do have a nav mesh.
If this won’t work, is there any way to move a pawn with an AI Controller?
HAF-Blade
(HAF-Blade)
October 2, 2021, 8:14am
2
try to add self in the controlled actor input
chrudimer
(chrudimer)
October 2, 2021, 8:21am
3
Hi, AFAIK you need a capsule collision as root component. Also I wouldn’t call this on tick, better do it only once from event begin play.
Thank you both for the response.
@HAF-Blade I tried plugging in Self, but it said Self Object Reference is not compatible with Controller Object Reference.
@chrudimer I think I have it set up as you suggested
But no luck with that either.
Still looking for a solution for this. Please help
HAF-Blade
(HAF-Blade)
October 4, 2021, 8:37am
6
I meant to plug in the ACTOR (which should be self) in the CONTROLLED ACTOR pin.
Anf make sure that the actor has an assigned ai controller class
chrudimer
(chrudimer)
October 4, 2021, 5:08pm
7
You could try to use the same code but with a character. If that also does not work, then you have missed something else (e. g. navmesh).
Try the “AI Move To” node and check if you have a NavMesh.