Forum Discussion
camster
13 years agoHonored Guest
Oculus Camera object rotation
Hi,
I am new to unity but I have a basic scene, I am trying to add the Oculus camera to a Car object.
when I add the OVR camera to the car I can drive forward,backward , left and right but I cannot rotate the vehicle using a controller. it turns the camera round instead. Also when I look around using the headset it rotates the camera and the vehicle at the same time instead of just looking around.
Any advice would be greatly appreciated please
Regards
I am new to unity but I have a basic scene, I am trying to add the Oculus camera to a Car object.
when I add the OVR camera to the car I can drive forward,backward , left and right but I cannot rotate the vehicle using a controller. it turns the camera round instead. Also when I look around using the headset it rotates the camera and the vehicle at the same time instead of just looking around.
Any advice would be greatly appreciated please
Regards
3 Replies
Replies have been turned off for this discussion
- cyberealityGrand ChampionCan you upload a simple demo that illustrates the problem?
I can take a look and see if I can fix it. Thanks. - sh0v0rProtege
"camster" wrote:
Hi,
I am new to unity but I have a basic scene, I am trying to add the Oculus camera to a Car object.
when I add the OVR camera to the car I can drive forward,backward , left and right but I cannot rotate the vehicle using a controller. it turns the camera round instead. Also when I look around using the headset it rotates the camera and the vehicle at the same time instead of just looking around.
Any advice would be greatly appreciated please
Regards
Have you attached the correct Prefab?
In your case you want the OVRCameraController, it sounds like you have added an OVRPlayerController which is probably intercepting your controller inputs to steer. - cyberealityGrand ChampionIf you use the OVRCameraController (not OVRPlayerController) then you can add the car's transform into the "Follow Orientation" parameter. This will make the camera feel like it's inside the car.
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
- 10 years agoAnonymous
- 7 months ago
- 5 months ago