- Home /
The question is answered, right answer was accepted
Unity 2D shogun,Unity 2D shogun spread?
How would I make a 2d shogun spread system in Unity Engine. All I have is a shotgun script that always keeps the rotation pointed towards the mouse. I have a pellet prefab also. Please be clear if I must make a separate script for the pellet to move after I instantiated it. Thank you.,How would I make a 2D shotgun spread system. I have a pellet prefab already set up, and the shotgun rotates to face towards the mouse cursor. What do I do to instantiate multiple pellets in different directions? Also, please be clear if I must put something in the shogun script of a new pellet script.
Is there a reason you need to render the pellets? Unless its for stylistic purposes or over a long distance guns generally fire way faster than we can see so generally we only need to make the initial explosion and the impact visible.
And if thats the case neither we don't need to model the individual bullets... it would be quite inefficient to do so either way.