Hi there,
I'm trying to do an Automatic Gun with raycast hit.
For the moment I can shoot a raycast and know if it hit something. And if that's the case I do an addexplosion to see the enemy flying.
What I can not do is an automatic weapon. I can only send one raycast after another by pressing successively on the fire button of the mouse. I wish that when I press and hold the button down, raycasts are automatic, with a small delay obviously.