Does anyone know how to make a raycasting shotgun where the bullets ( aka the raycasts) spread around where the mouse is facing?
I already know how to make a gun ( from roblox wiki )
0
Cast out like five rays and offset their end points by an incriment based on distance. You could also add the offset onto the unit vector in order to not have to base it on distanceNexanianStudios91— 6y
0
I recommend experimenting with CFrame's rotation functions; they'll do rotation better than manually adjusting unit vectors.chess123mate5873— 6y