transform.position assign attempt for 'turretBullet' is not valid. Input position is { NaN, NaN, NaN }.
UnityEngine.Transform:Translate(Vector3)
turretBullet:Update() (at Assets/Script/damageTowers/turretBullet.cs:22)
Can you put the following after you calculate mySpeed and before you translate and give the results? Will probably give a clue as to what’s going on. I want to say reloadTime is 0, but that wouldn’t cause 3 NaN, as z should be infinite (at least in my quick test it was).
If reloadTime is 5, then mySpeed should be 10, Vector3.forward is usually (0.0f, 0.0f, 1.0f) and as far as I know cannot be changed, Time.deltaTime is going to be a low float value, say 0.02f… which should result in (0.0f, 0.0f, 0.2f). One of these values isn’t right…