Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Can you make a shotgun with raycasting?

Asked by 4 years ago
Edited 4 years ago

I have wondered if it would be smart to use my gun script to make multiple instances of rays with random orientation. Is this a smart idea or is there an alternative that would be better?

1
Make 1 ray and fire many bullets around that ray. You can factor in the spread of the bullets by using the distance of the Hit Position (2nd return value of FindPartOnRay function of workspace) from the player's character.. pidgey 548 — 4y
0
Thanks ReallyUnikatni 68 — 4y

Answer this question