Hello all,
I'm having some trouble trying to come up with a solution to consistently spawn the player at a specific position. In my unity scene I have a cockpit with a joystick. I also have a physical joystick as well. If the player moves their physical joystick around, the in-game joystick would rotate accordingly.
This means that I have the physical joystick in roughly the same position as the virtual stick. The issue is that I can't seem to position the LMHeadMountedRig prefab in the correct position so that the leap-hands would appear to grab the stick. What I have tried doing is placing an empty game object in position I want, setting the prefab as a child and disabled. I then have a script that caches the prefab, sets the prefabs localPosition and then enable it. This works fine until I put on the headset, where I appear to be way offset.
I could modify the provided offset script, but that is a bit tedious having to do everytime I run the scene. Is there a way to do some sort of calibrating some how so that the prefabs realigns itself to be in the corrent position?
Hope that makes sense