Projectiles hit


i have one question ,

when i shoot projectiles away from wall all is fine , but when i m close to wall there is no balls from the gun … Please let me know what i have to do

Thanks so much

here is example pics:

away wall :

close to wall: