function OnCollisionEnter(other:Collision){
if(other.gameObject.tag==“enemy”){
transform.position=Vector3(0,0,0);}}
Attach that to the player. That consider that 0,0,0 is the origin of your game.
IsTrigger means you want to ignore physics meaning that the object won’t bounce. In your case that won’t change much since you are respawning your guy.