Forum Discussion
sh0v0r
12 years agoProtege
Changing the perception of scale
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
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
Replies have been turned off for this discussion
- sh0v0rProtegeOK 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. - cyberealityGrand ChampionInteresting. Thanks for posting the solution.
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
- 7 months ago
- 4 years ago
- 9 months ago
- 7 months ago