Vfx wont work once so far upwards on the Y-Axis?

I’m working on a top-down shooter and once I go so far up towards the top of my map my bullet casing VFX quits spawning, any ideas would be appreciated.

This is my Bullet Casing VFX Code

Do you have a background object the casing falls onto? If so, then it may just be that the z-order of the casing ends up behind the background because of these 2 lines:

image

I’d hazard a guess that it should really be floor_z_order + 16 + Random(32)

1 Like