I use this
FTransform SpawnTransform(Rotation, Origin);
auto MyDeferredActor = Cast<ADeferredActor>(UGameplayStatics::BeginDeferredActorSpawnFromClass(this, DeferredActorClass, SpawnTransform));
if (MyDeferredActor != nullptr)
{
MyDeferredActor->Init(ShootDir);
UGameplayStatics::FinishSpawningActor(MyDeferredActor, SpawnTransform);
}
to spawn an actor with a beautiful model , While the actor was spawned , Can I change this actor with a beautiful model to another model ?
thanks