How to get World Position of the Head

Does anyone know how to track the world position of the head in VR? I’d like to use colliders or something to see if the head is bumping into something, like a wall. I tried doing rays from the left eye, but I can’t get that to work as I like.
There’s head on the input component. but that doesn’t seem to work in VR.

I computed the head position by averaging the eyes position and made a component that position an object like that
after that I think u can just add a collider to the same object