I created a new C++ actor, and I am trying to use this actor to spawn other actors. I got something like this:
Afloor_50x50* TestSpawn; TestSpawn = GetWorld()->SpawnActor<Afloor_50x50>(SpawnLocation, Rotation);
I am not sure if I did this correctly… Afloor_50x50 is another C++ actor I’ve created and assigned to a mesh. This causes the engine to crash.
How can I properly use SpawnActor? Greatly appreciated!