Am making a first person shooter, and whenever the player goes up close to a object, the bullets will just go a random direction and not into the close object. I use game.Players.LocalPlayer:GetMouse().Hit.Position
to make the bullet go the mouse’s direction, am not sure if I need to add anything onto to this to check if a object is close up or not?
1 Like
to show what my problem is, its meant to hit the wall infront but both bullets just go a random direction
could be because the gun muzzles are inside the part, it gives that effect.
whenever i come up close to a humanoid for example it does the same and doesn’t damage the humanoid and just ignores it like it did in the image
I am facing the same issue, have you found a solution? (yes I know it’s been over a year )
This is an easy fix
Make sure the part you’re shooting at has cancollide off and canquery off
canquery makes it so raycast can interact with it
make sure to perform this with accessories
1 Like
Wait i just realized how old this post is
2 Likes