steven_EXC Posted May 11, 2017 Share Posted May 11, 2017 Hey guys, I am trying to create a simple crosshair/reticle in a VR app and it seems that when I attatch anything as a child to the VRDeviceOrientationFreeCamera it jitters pretty wildly. I don't see this issue with other cameras. Does anyone know what's going on here? http://www.babylonjs-playground.com/#ZU6HAR#1 Previewing it on desktop seems to be fine somewhat fine although a see a lazy drift, but I notice the stuttering issue when going into developer tools and emulating a mobile device or just visiting this playground link on an actual mobile device. FlashyGoblin 1 Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted May 12, 2017 Share Posted May 12, 2017 Hey as the vr camera has two children, it is better to link your mesh to one of them: http://www.babylonjs-playground.com/#ZU6HAR#6 FlashyGoblin 1 Quote Link to comment Share on other sites More sharing options...
steven_EXC Posted May 12, 2017 Author Share Posted May 12, 2017 Oh sweet! That's great to know. I ended up just doing the math myself, but your way is totally easier! http://www.babylonjs-playground.com/#ZU6HAR#5 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.