Forum Discussion
Mickman
12 years agoProtege
Adjust Positional Tracking (zoom in/out)
Wondering how's it possible to increase the zoom as a player moves in/out with the DK2 ?
The game I'm developing requires closer distance as the player leans in to view an object.
The game I'm developing requires closer distance as the player leans in to view an object.
2 Replies
Replies have been turned off for this discussion
- GeraldExpert Protegedo you want to increase only on the Z-axis? then put the cam controller onto an object and move the object in global space on Z just as the eye cams moves in it's local space on Z.
if you want to increase in all axis, then you could just double the scale of the cam controller and half the IPD to compensate for the doubling (so that the scale still is correct). - vrdavebOculus StaffTo make an object appear bigger, you could move the OVRCameraRig closer to it and/or reduce Transform.localScale on the OVRCameraRig.
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
- 2 years ago