parent rotation in collisions

how do i find the rotation of what i collided withs parent??

function OnCollisionEnter(collision : Collision)
{
var rotation : Quaternion = collision.transform.parent.transform.position;
}

You might want to use root instead of parent if it’s a longer hierarchy of objects and you’re looking for the topmost object.

sweet the root thing worked perfect, thanks