-
Notifications
You must be signed in to change notification settings - Fork 191
How to disable head tracking (gyroscope)? #325
Comments
You should be able to use gvr->PauseTracking(). |
We distribute GVRKit as a compiled framework. You should be able to see the headers in XCode though. |
Could I call this method if I use (GVRSceneRenderer + GVRVideoRenderer) or I have to write my own Renderer with my own gvr_context as shown in TreasureHuntNDK example? |
This call is independent from the rendering logic and should work either way. |
Could give me some tip? I don't understand how to get a reference or pointer to GvrApi instance. |
Ah, I see, this is not exposed through GVRCardboardView yet. Are you using a GVRCardboardView? If so, you should be able to use whatever head pose you'd like in the delegate functions instead of the tracked head pose. |
No. I'm using (GVRRendererViewController + GVRRendererView + GVRSceneRenderer + GVRVideoRenderer). |
OK, will add this on GVRRenderer so you can pause tracking. |
Actually [GVRRenderer pause:NO] should disable tracking. |
Hi, is there a way to programmatically enable or disable head tracking (gyroscope) in the GVRKit?
Also in the issue #281 I've read that the GVRKit was open source but the reference in the issue was broken and I didn't found source code of GVRKit in the repository.
The text was updated successfully, but these errors were encountered: