|
So I have been having some trouble with shooting in unity not button shooting but AI shooting. I followed TornadoTwins tutorials on the turret but wanted some units to shoot faster or slower than others, but found that I couldn't change anything that would change rate of fire. so I tried a lot of stuff skipping boring story.... so over all I came to use this script:
Now this works just fine but it shoots twice any suggestions on making it shoot once? Thanks Guys~ K.N.
(comments are locked)
|
|
Okay this is closed guys the answer was that I had to work with the event position in the time of the shot apparently I had two animationEvents during the actual playing of the game because of the Shoot.time = 2.166;
(comments are locked)
|
