cancel
Showing results for 
Search instead for 
Did you mean: 

Changing the perception of scale

sh0v0r
Protege
Hi,

I've just started integration for my game Lunar Flight and something really concerning dawned on me.
While I have always had the belief my game was built to 1 unit per mtr, somehow my games objects appear to have been built with the wrong relative scale. In fact everything is about 66% smaller than real world scale.

It is not really practical to rescale all my assets and levels, is there a way to change the perception of scale?

I thought about adjusting the neck position and eye separation but then I wasn't sure if this would be the correct way to do it?

[edit]

I spotted this comment in OVRCameraController:ConfigureCamera

// NOTE: We will want to add a scale value here in the event that the player
// grows or shrinks in the world. This keeps head modelling behaviour
// accurate
2 REPLIES 2

sh0v0r
Protege
OK I got a solution for this after reading this post: viewtopic.php?f=37&t=1135

In OVRCamera:SetCameraOrientation()

gameObject.camera.transform.position += q * (EyePosition * 0.305f);

0.305f being my scale, then I adjusted the neck position and it looks just right.

cybereality
Grand Champion
Interesting. Thanks for posting the solution.