Lobbing a Bomb with Instantiate.

It seems like this would be a common task in unity, but I can't seem to find an answer.

I would like to instantiate a Bomb (A prefab with its own properties), from my player, lobbing it forward like tossing a ball.

It has to take in to account the players speed too, though the first thing I feel I need to get down is the fact that it will not instantiate relative to its instantiate point, it is instantiating forward along the world Z axis not the relative z of its spawn point.

Here is the basic code that I cant quite get to work

if(Input.GetButtonDown("Powerup") && hasBomb == true)
    {   
        var spawnBomb = GameObject.Find("shootPoint1").transform.position;
        var bomb = Instantiate (bombPrefab,spawnBomb,Quaternion.identity);
        bomb.transform.position = spawnBomb;
        bomb.rigidbody.AddForce (0, 60, 600);
        hasBomb = false;
    }

And then, I would need to add the velocity of the player.

Any help is much, much appreciated.

The problem here is that you're adding a force using a vector in global space rather than in local space of your spawn poin.t You can simply use Transform.TransformDirection to convert a vector from local to global space.

if(Input.GetButtonDown("Powerup") && hasBomb == true)
{   
    var spawnBomb = GameObject.Find("shootPoint1").transform;
    var bomb = Instantiate (bombPrefab,spawnBomb.position,Quaternion.identity);
    //It's not necessary to set the position here since you already did in Instantiate
    bomb.rigidbody.AddForce (spawnBomb.TransformDirection(0, 60, 600));
    hasBomb = false;
}