Hej,
I’d like to Spawn the actor for the first instance with CUBE mesh, second instance with SPHERE mesh. Is there any method to call SpawnActor function with static mesh parameter. I’ve been using the below code for spawn the actor. Any ideas/samples would be great helpful.
In BeginPlay()
GetWorld()->SpawnActor<MyActor>(Location, FRotator(0,0,0));