Hello guys,
I’m a beginner and still learning how Unreal works.
In my current C++ exercise, I have a pawn who will be able to place bomb. The bomb actor itself which will activate explosion particle effect after a period of time. After the explosion is finished, the bomb actor will disappear /destroy itself.
For explosion effect, I use P_Explosion from Starter Content.
The issue I currently have is how to know the exact duration of a particle system.
Right now in my bomb actor’s Tick method I perform checking to bWasCompleted member of my particle system component. It seems working but there’s a slight delay so I suppose there’s a better / more reliable way of doing this.
I tried to look for any callback method/event but I haven’t found it.
Thanks,
Anton