yanzco
(yanzco)
August 24, 2015, 3:57pm
1
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…
Yggdrasil
(Yggdrasil)
August 24, 2015, 4:55pm
2
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.
yanzco
(yanzco)
August 24, 2015, 5:01pm
3
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…
Yggdrasil
(Yggdrasil)
August 24, 2015, 5:12pm
4
Ahhh, there’s your issue. Yes, they should be based on Characters. Characters have in-built movement, Pawns do not.
yanzco
(yanzco)
August 24, 2015, 5:22pm
5
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?..
Yggdrasil
(Yggdrasil)
August 24, 2015, 5:54pm
6
I can only relay the information to you, I don’t know the reasons why.