help! i have make a game like a endless runner. I need to know how can i destroy those obstacle after delay about 5 second
On your Obstacle class blueprint, set its lifetime to 5 seconds.
Go to the blueprint class defaults,
Look in the actor category (or type lifespan on the search box)
And set it to 5.0.
Now the actor will destroy itself after 5 seconds.
Thank you that’s help a lot!