We're creating a game for graduate college. I'm making a flight shooting game in unity on VR.
The problem is that reset player (aircraft) position to current player's position in real.
Currently, my player object's structure is...
Player
> XR Origin
> Camera Offset
> VR Camera
> controllers.. etc
> Aircraft Model
I tried to reset position.
But many tutorials are not flight game, and most of tutorials are re-centered the prepared transform's position.
I want to recenter to current player's real position (in vr).
I know that is possible to recenter in the vr's built in function. But I want to recenter in unity runtime.
Any one has solution? Or is there any method one can call at runtime to recenter the position using vr's built in function?
I using Unity 2022.2.19f, OpenXR package, Oculus Quest 2 (I do not directly use Oculus SDK like OVR...)
Sorry for my poor English skill.. because I'm korean.. :<