Spawning Projectile Problem

Hi Guys,

I am following lecture 141 and tryng to spwan projectile when I press the button to Fire.
The result is that I cannot spawn anything:

Code:

I was trying to solve the problem using Blueprint, but it doesnt work as well:

Solved!
There was a problem with Projectile_BP. When I restored project after crash it didn’t restore mesh, so basically there was no visible component to spawn…

The actors spawned in the world, but they are not visible because you probably forget to add a sphere component to the projectile.

Privacy & Terms