How would i change this code so it instantiates the power up at the blocks position with a little bounce in the air like mario? heres my code right now, but the power up either just falls or shoots reeaally high.
var Block : Transform;
var PowerUp: Transform;
function OnTriggerEnter(other : Collider){
if (other.CompareTag("Player")){
var bullit = Instantiate(PowerUp,Block.transform.position,Quaternion.identity);
Destroy(gameObject);
}
}