smart people of /vrg/, pls help me solve a logic puzzle
>green ball represents my collider, i want to have physical representation of player in game
>gameobject with a collider and green ball is a parent for the camera object, let's call this collider object "player object"
>camera object (inside the player object) is controlled by HMD position
>this makes sense, because i want this collider to tell me how high should i be at the given moment to handle all kinds of player-level collisions
>my controller script manipulates the position of this 'player object'
>when i rotate/move myself using controller like on video, it's all fine
>but when i just stand to the side in real life, camera inside the player object is moving, but collider itself obviously isn't
>so i can just stand aside and collider will be in the wrong position
>i want HMD position to affect the collider position
>but, at the same time, i want collider position to affect HMD position
>i obviously can't join them with some joint because both of them are meant to control my position, so it all spergs out when i do that and my object goes crazy

tl;dr how do i make a player collider for VR? i want collider to collide and restrict my X/Z position/control Y position in all objects, including the camera, but i also want my vr camera object to control the position of the collider, which is supposed to control the position of my camera, which is supposed to control the position of my collider, which is supposed to

[spoiler]it's probably retardedly needless logic loop and i probably miss something very basic, so feel free to giggle[/spoiler]