ReactVision / viro

ViroReact: The AR and VR library for React Native 📳💙💛🤍💚
MIT License
1.31k stars 149 forks source link

How to translate the position value according to the device gyroscope data? #127

Closed Robiullah2244 closed 5 months ago

Robiullah2244 commented 2 years ago

Requirements:

Please go through this checklist before opening a new issue

Environment

Please provide the following information about your environment:

  1. Development OS: Mac
  2. Device OS & Version: iOS version (12.5)
  3. Version: React Native version
  4. Device(s): iPhone 12

Description

I want to translate the position value according to the device gyroscope data.

Reproducible Demo

sanoopks commented 1 year ago

Could you please give more information ? If you are asking about camera rotation based on gyroscope, this solution will help you. https://github.com/viromedia/viro/issues/543#issuecomment-1340973014