ShotGun function for ranged item

Published by DENTiller on
Status
Resolved
Issue description

Add the ability to shoot multiple custom bullets so can implement shotgun weapons.

Issue comments

I also wish to make a Shotgun with a spread shot. I have also came up with a method in which it could be done.

Maybe you could have the user define a Y angle (Height of Spread) and a Z angle (Width of Spread), with the vertex being on the player, this would make a sort of cone or pyramid of spread, then the user will then put in the amount of bullets will be shot (This could be separate from the ammunition used as shotgun shells usually have a lot of tiny balls inside of a single shell). And if it's possible to disable the gravity of Bullets, the user could define a range of the shot.

As a result, a set number of bullets would be fired at random Y and Z angles within the angles the user defined, and will keep going until it reaches the range the user defined.