Random float breaks function

I see that your scale is set to 0, 0, 0 in both of your blueprints - could you try setting it to 1, 1, 1 instead? They may be spawning so small that they’re invisible.

Apart from that, the only thing I can think of is that they are spawning, but are flying off in a random direction before you can see them. It’s a long shot, but video games can be strange sometimes :stuck_out_tongue:

Finally, try dragging off of the return pin of the spawn actor node and checking it - you should be able to see if your projectile exists and where it is there.


So i have these two blueprints, one where the bullet created moves directly towards the cursor, and a second one where the bullet direction should be a bit more random. I have tried to achieve the random direction by breaking the rotation, adding a random number to the x, y and z axis. However, this has stopped the bullets from spawning. So my question is if there is anything in my blueprint that is faulty?

Note: This is a top-down game, if that effects anything.

Image 1: This one doesn’t work

Image 2: This Works