Issue finding Parent Object

var force = 10;

function OnCollisionEnter(collision : Collision) {

if (collision.gameObject.tag == "Player"){
	transform.parent.gameObject.rigidbody.AddForce(Vector3.forward * -force);
}
}

Does nothing. my guess is that it’s not finding the parent object, probably because I’m doing it wrong.

Help?

Wait… This would be attached to the object that sends the player back…

So, check your tags?

a plane… it matters?

transform.root is the parent