I'm trying to add Gun sparks to my game, however, it only emits half of the time I shoot.
Here's the code I'm using:
translation = newTransform.origin
transform.basis = newTransform.basis
$particles.emitting = true
#$particles.emitting = false
ammo -= 1
Here are the set parameters for the particles.
What do I do?