GyroscopeAccelerometerWebGL View on Asset Store (opens in new tab)

Package details

Latest version
2.8
Last updated
First released
Unity version
2019.4.40 or later
Package size
76 KB
Files
7
Favorites
34
Views in the past week
4

Price tracking

Last checked
Tracked since
Lowest recorded
$4.99 on

Keywords

GyroscopeAccelerometerWebGL

by Marks (opens in new tab)

5.0 / 5 · 7 ratings

Ratings by stars
Number of ratings for each star rating
5 stars 7
4 stars 0
3 stars 0
2 stars 0
1 star 0
  • Price drop

Gyroscope and accelerometer for the web.

Discount -95% Previous price $100.00 Price $4.99

Lowest recorded price

Get 95% off on Asset Store (opens in new tab)

Affiliate link · Purchases support this site

Price history

Last 6 months

USD
Price history for GyroscopeAccelerometerWebGL, 6 months Current $4.99; lowest $4.99; highest $4.99 in this period. $0 $2.5 $5 Jun Jul Aug Sep Oct Nov

Asset preview

1 / 3

GyroscopeAccelerometerWebGL screenshot 1

GyroscopeAccelerometerWebGL screenshot 1

About this asset

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 :).

From the publisher's Asset Store listing.

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.

Compatibility

Render pipelines supported in each Unity version
Unity version Built-in URP HDRP Custom
2019.4.40f1 Compatible Compatible Compatible Compatible

It's compatible with Unity 2019 or higher.

As listed on the Asset Store.