Open ghost opened 6 years ago
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 https://github.com/googlevr/gvr-ios-sdk/issues/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.