warrickct / android-vr-model-viewer

Model viewer for mobile. Compatible with google daydream and gearVR
0 stars 0 forks source link

Teleporting when UI Item clicked. #17

Closed warrickct closed 6 years ago

warrickct commented 6 years ago

Teleporting when UI item is clicked. I think it might be because the OVRPhysicsRaycaster script teleports when the raycast result is null.

warrickct commented 6 years ago

Fixed this by moving teleport to only occur when raycastAll hits nothing instead of when only the physicsRaycaster hits nothing.