Steve Townsend

Results 23 comments of Steve Townsend

I wanted to create a function to verify a scene object had the expected shader type, but couldn't work out a way to do this without using reflection. As this...

Okay, I've removed the code attaching the picker to the camera rig, I can see it wasn't required now as it does move with the camera regardless. But the problem...

The way I rotate the camera rig is I use GVRContext registerDrawFrameListener() call to set up a callback per frame, in that frame I do the following. ``` @Override public...

This is with the Gear controller, it's nothing strange that I'm doing. I'm just using the camera rig orientation to reflect the direction the user's body is facing, then the...

Thanks, I've given this a go, but I'm having a problem receiving the onViewChange events. What I've done is: ``` ICameraEvents cameraEvents = new ICameraEvents() { public void onViewChange(GVRCameraRig rig)...

The mod I posted in #1686 is working fine for dealing with controller orientation, guess I should have posted that under this thread not that one.

I'm using this signature: `public GVRCylinderSceneObject(GVRContext gvrContext, GVRCylinderSceneObject.CylinderParams params) ` The FacingOut field is working okay with this function except for the normals. It looks like what you've found is...

Hi, thanks for the reply. I had looked into downcasting the controller to OvrGearController, but it struck me as this wasn't intended behavior as the OvrGearController class isn't public, so...

I've hit another problem with the current implementation, the MotionEvent's handled in onTouchEvent can't distinguish between the main clicker and touch pad button, both come through as MotionEvent.ACTION_DOWN. This is...

That would help, I've also found my idea of using KeyEvents doesn't handle the case of tapping the touchpad on the headset while the controller is inactive and I'm using...