PROJECTYLE IS SELF DESTROYNG WITHOUT COMAND

Why when I put the static mesh component to simulate physcs and in the same blueprint I add the ProjectileMovement component the object (projectile) is destroyed in 5 seconds after being spawned by an enemy? Does anyone know how I can have physics but not have this weird automatic object destruction?

Projectiles have a set life span that determines how long they stay before they destroy themselves. You can fix this by going to the construct script in your actor, and using the set life span node which set how many seconds the projectile exists before it is deleted. Set it to a higher number to solve your issue.

1 Like

Thank you very much!!

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.