Over 11,000 five-star assets

Rated by 85,000+ customers

Supported by 100,000+ forum members

Every asset moderated by Unity

Home
Tools
Integration
1/4
Gyroscope and accelerometer for the web.
Render pipeline compatibility
The Built-in Render Pipeline is Unity’s default render pipeline. It is a general-purpose render pipeline that has limited options for customization. The Universal Render Pipeline (URP) is a Scriptable Render Pipeline that is quick and easy to customize, and lets you create optimized graphics across a wide range of platforms. The High Definition Render Pipeline (HDRP) is a Scriptable Render Pipeline that lets you create cutting-edge, high-fidelity graphics on high-end platforms.
Unity VersionBuilt-inURPHDRP
2019.4.40f1
Compatible
Compatible
Compatible
Additional compatibility information

It's compatible with Unity 2019 or higher.

Description

This asset enables you to read the gyroscope and accelerometer information provided by your browser. The main uses of this are VR-like 360 experiences and AR experiences. It’s very flexible and easy to use, full source code included.


Try out this 360 AR experience using this plugin and DeviceCameraWebGL.


Please note that usually only phones have a gyroscope/accelerometer, as such this plugin is targeted to mobile browsers.


If you like my plugin, please consider leaving a review. It helps me immensely and encourages me to improve the plugin further, and other people to support my work :).

Technical details
  1. Enables you to read the gyroscope and accelerometer data accessed by the browser. All this information is transferred from the javascript side to the C# side of Unity.
  2. You can detect if you successfully accessed the gyroscope/accelerometer or not. All the errors that can happen in the JS side are transferred to Unity, so you can manage them.
  3. Works on Safari, Chrome, Firefox, Edge, and Opera.

You need to upload your build to an https(secure http) server. Using http:// or file:// won’t work! I recommend using https-localhost or netlify for local testing. This is not a restriction with my plugin, it’s just how browsers work.

GyroscopeAccelerometerWebGL

(7)
34 users have favourite this asset
(34)
$100
Seat
1
Updated price and taxes/VAT calculated at checkout
12 views in the past week
Refund policy
This asset is covered by the Unity Asset Store Refund Policy. Please see section 2.9.3 of the EULA for details.
Secure checkout:
Supported payment methods: Visa, Mastercard, Maestro, Paypal, Amex
License type
File size
76.0 KB
Latest version
2.8
Latest release date
Nov 27, 2023
Original Unity version
2019.4.40
Quality assets
Over 11,000 five-star assets
Trusted
Rated by 85,000+ customers
Community support
Supported by 100,000+ forum members
Unity logo
Language
Feedback
Partners Program
Partners
USD
EUR
Copyright © 2025 Unity Technologies
All prices are exclusive of tax
USD
EUR