Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
PetitChu's avatar
PetitChu
Honored Guest
10 years ago

HowTo - Camera Scaling

Hi Gang !

I have read a lot of posts about scaling the camera (precisely the IDP) in Unity but I still don't understand How to do that. I'm not sure if I am missing something.

 I have read on some post that I only have to scale the parent object of my camera, but it doesn't seem to do anything, except lowering the camera itself to the ground (in a case where my camera is mounted on a player object and the camera itself was over the origin point of my player) by decreasing the offset between the ground the camera position. It's obviously not what I want.

In some others posts, I have read to refactor the ConfigureCamera() function in OVRCameraController.cs, but i don't have this script into my version of the framework (1.7.0).

I write this post here only because i'm assuming right now that I miss something really simple... and I'm pretty sure someone here can help me with that.

Thank you in advance.

Sebastien Charron
Lucky Hammers

2 Replies

Replies have been turned off for this discussion
  • Fulby's avatar
    Fulby
    Heroic Explorer
    There's an Oculus example in Unity showing adjustments to the head scale, which I think is the same as what you're trying to do. I can't remember which package it is but there are only a few of them.
  • Awesome, thank you. I will check further in detaisl tonight, but after an quick overview of that, yes, it what I want. Thank You !