Forum Discussion
djack77
11 years agoHonored Guest
Setting up Camera inside a vehicle?
Hi all, Simple question really. Is there a tutorial on how to get the Oculus camera prefab to work inside a moving vehicle like a plane that's controlled by the player? I can't seem to find an ...
Gerald
11 years agoExpert Protege
there is very little to it actually.
you want to make sure you compensate for the position in front of the cam first, so find out where your players head is when he centers (intro screen!) and then adjust the camera controller to a position that leaves the player head where the car seat is.
then make the cam controller part of the car, so that it moves with it. on the camera controller you have a field "follow orientation", there you will want the car so that if the car turns the player is turned with it.
I am very likely forgetting something - but it's not all that hard.
you want to make sure you compensate for the position in front of the cam first, so find out where your players head is when he centers (intro screen!) and then adjust the camera controller to a position that leaves the player head where the car seat is.
then make the cam controller part of the car, so that it moves with it. on the camera controller you have a field "follow orientation", there you will want the car so that if the car turns the player is turned with it.
I am very likely forgetting something - but it's not all that hard.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 1 year ago
- 2 months ago
- 2 years ago