So I’m working on a third person shooter and I have added a gun, but when I walk it doesn’t let me shoot. I can shoot while crouching idle, crouching walking and idle, but for some reason when walking/running, It won’t let me fire. Does someone know what the problem might be?
1 Like
It won’t let you fire? Is there anything in the code that could do that, eg. canShoot boolean? If not then it might be a collision problem. Try changing bullet spawn point or using some print string to find out what it collides with.
1 Like
Drop a print string right after your bullet is spawned. If you get the message then its a collision issue, otherwise there’s logic preventing the spawn.
1 Like