public float fallSpeed = 100.0f;
void Update()
{
transform.Translate(Vector3.down * fallSpeed * Time.deltaTime);
}
I currently have this code making my object fall down and it goes off the camera screen, I then want it to move to the center of the screen to which then it will activate a particle explosion. How would I go about doing that?