Hello,
this is my first question here, so I hope I am following the rules here correctly.
I have a problem with reactivating a ParticleSystemComponent.
What I have is a Ribbon Data Type following my Projectile Actor.
For performance reasons I am preallocating a bunch of Projectiles and storing them in a TArray, so Projectiles don’t have to be spawned at runtime.
After a projectile needs to be “destroyed”, I am putting it back into my TArray for later usage.
At this moment I want my ParticleSystem Ribbon Trail to stop leaving a trail.
I am hiding my projectile and deactivating my UParticleSystemComponent *TrailParticles by:
Projectile->SetActorHiddenInGame(true);
Projectile->TrailParticles->DeactivateSystem();
As far as I can tell, this works. But I cannot reactivate the system with:
Projectile->SetActorHiddenInGame(false);
Projectile->TrailParticles->ActivateSystem(true);
The projectile will move without its trail.
Here is a screenshot of my
I hope you can help me out with this.
Kind regards.