I’m using UE4 15.1 on Windows 8.1 with Visual Studio Community 2015 Version 14 Update 3.
I am spawning two types of particle systems to represent points and lines between them.
The particle system for my points has two emitters, one for the static mesh and one for the orbiting sprites.
As you can see below, there’s a delay between the point particle system being spawned and the static mesh appearing.
I have the project up on [github][3]. Here’s the code snippet that spawns the point particle system.
bool SpawnPoint(UWorld* world, UParticleSystem* myParticleSystem)
{
check(!PointLocation.ContainsNaN());
if (world)
{
SparkPSC = UGameplayStatics::SpawnEmitterAtLocation(world, myParticleSystem, PointLocation, FRotator(0.0f));
if (SparkPSC)
{
SparkPSC->ActivateSystem();
IsSpawned = true;
FRotator Rotation(0.0f, 0.0f, 0.0f);
FActorSpawnParameters SpawnInfo;
m_PointLable = world->SpawnActor<APointLabel>(PointLocation, Rotation, SpawnInfo);
return true;
}
}
return false;
}
My questions are:
- Is it possible to remove this delay so the static mesh appears as soon as the static mesh is spawned?
- Is there a better (or alternative) way to use make static meshes appear in a scene rather than using particle systems with a static mesh emitter?