How could I make Players unable to shoot through walls? I use Raycasting for my bullets and it starts at the muzzle of the weapon. Because I already have bullet hit effects here is an example from Phantom Forces of what I want it to look like.
offset the raycast relative to the muzzle backwards a few studs.
at first i didn’t know how to do this then i remembered look vector, thanks!