I have an actor called “World” that spawns characters called “EnemyChaser” which chases the Player.
When I put an Enemy into mt level, it chases the player, as expected.
When I put the World script into my level, it spawns Enemies that chases the player, as expected.
The thing is, when I put the World class to be spawned, the spawned Enemies from this World doens’t chase the player.
Here are the blueprints: Enemy Blueprint World Blueprint
The Enemies variabe inside World is an array of Enemy class to be spawned (but for now there is only one enemy)
The Worlds variable inside Game Mode is an array of World class to be spawned (but for now there is only one world)
I am new to Unreal, but I can’t make any sense of this problem, so I need help.
I don’t know about if it’s good or not, I just followed what I found online.
But I think the move to needs to be called every second, but what would you do instead? Perhaps it solves the problem.
It seems like the navmesh doesn’t undestand the mesh that is spawned as a walkable path.
I set the navigation mesh to Generate Dinamically and now is weidly working. Thanks!