previously, i had a problem as the texture of the coin was covered by the halo and cant be seen.
But Mr. Ron solve it by changing the material to self-illuminate
I managed to complete creating the blood particle effect and also i want to do a blood splatter on to the screen when the character was shot.
texture:
Lastly, the auto shooting script of the tank is done , as Mr. Ron helped me to solve it
public GameObject fire;
public float force = 1000;
// Update is called once per frame
void Update ()
{
if((Time.frameCount % 150)== 1)
{
//Make copy
GameObject temp = (GameObject) Instantiate(fire,this.transform.position,Quaternion.identity);
temp.rigidbody.AddForce(transform.forward *force);
Destroy(temp,2);
}
}
}