Spawn AI character class from an Actor class

I’m working on an endless runner game and spawning a series of platforms and I want to spawn an AI character on the platform from its class blueprint using AddChildActorComponent. The character spawns, however it doesn’t use its PawnSensing component neither its animation blueprint.

Also I’d like to attach a NavMeshVolume to the platform, but it’s not in the AddComponent options

in your AI character BP

104505-ai.png

I think you need dynamic navmesh

Hey!

For spawning AI you should use the Spawn AI from class BP node.

Hope this helps,
Elias

thanks a lot! you helped solve my problem with active AI.

.yes, spawn AI need using “Spawn AIFrom Class”… check this link for more details … ; ] ,