Forum Discussion

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

World scale and IPD

I'm currently building a game where I want everything to be small, the characters should be like max 100 mm high. But Unity's physics engine is not precise enough for this small scale, so I have to scale it up a bit. But the of then obviously everything feels bigger. So I would like to be able to scale the IPD up, to like above 200 mm. But I can not find any way to do it in the latest SDK. Is it still possible some how?

Thanks in advance!

2 Replies

Replies have been turned off for this discussion
  • drash's avatar
    drash
    Heroic Explorer
    In Unity integration 0.4.3+, I believe all you need to do is rescale the OVRCameraRig itself and it's all taken care of. So if you give the OVRCameraRig's transform a local scale of (10, 10, 10), then you will be a giant with 10x the normal IPD and 10x the normal positional tracking movement, relative to the world around you. You should be able to find the right ratio of scale of world scenery vs OVRCameraRig to get the effect you want.

    Hope that's what you were looking for. I'd also be interested to hear if scaling up the world will actually yield better physics in your case.
  • Yep, 0.4.3 lets you scale.
    Before 0.4.3 I had modified the IPD calculations using the scale of the oculus camera, but it was never quite right. Tracking felt wrong.