Howdy!
In my project, when you fire laser while flying along nice and smooth, the ship take a dip in speed when the projectile is instantiated. I’m using the Spawn Actor from Class in my Blueprint (UE4).
It is real noticeable when flying slowly and firing projectiles one at a time.
I’ve tried looking for a way to pre-instantiate a pool of the projectile objects, but am having no luck. My lasers are simple narrow capsule mesh with a glowing red or blue material and a box collider.
I’m targeting mobile for this project, but I get the speed dips on the laptop as well. Blueprint for my fire lasers function below…
I’d greatly appreciate if someone could point me in the right direction.
Thanks,
Byron