Questions tagged [gyroscope]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
28 views

How do I stop gyroscope-controlled camera from jittering when holding phone still?

I have here a simplified version of my gyro-controlled camera with a sensitivity modification (a side effect of increasing sensitivity is that the jitteriness is exacerbated). ...
0
votes
0answers
4 views

Unity - Convert Camera Gyroscope Attitude to World Space Canvas rotation

Suppose you have a worldspace canvas parallel to a camera that is rotated by the gyroscope. How do you convert from the camera's gyroscope attitude to get the world space canvas rotation?
0
votes
1answer
90 views

Controlling Unity 3D cube with remote gyroscope

This probably will go into conceptual things as well, but what I would like to do is take a Raspberry Pi (with a Sense Hat), transmit the gyro values to Unity, and effectively have a 1-1 realistic ...
0
votes
1answer
426 views

Tilting a game object left/right/forward/back with gyroscope, regardless of player's heading

I'm working on a mobile game in Unity and using the gyroscope to rotate an object along the x and y axes. ...
-1
votes
0answers
33 views

How can I convert Input.gyro.attitude into a float? [duplicate]

I am working on a VR project with a 360 video in it. I am trying to set the start rotation of the video to the same rotation as my phones. How can I convert ...
0
votes
1answer
752 views

Set the start orientation of the gyroscope to initial phone orientation

I am making a mobile VR project in Unity, and I have a 360-degree video that starts playing where I can look around using a VR headset. I am trying to set the start rotation of the video to the same ...
0
votes
1answer
1k views

Unity Gyroscope orientation (attitude) “wrong”

I am using the Unity reference and example implementation here https://docs.unity3d.com/ScriptReference/Gyroscope.html I struggle to fix an orientation problem. When my phone lies flat on the ground, ...
1
vote
0answers
135 views

Gyro and swipe in Unity

How can I properly save rotation of the camera while swipe and pass it to transform.rotation = Quaternion.Slerp() start start Quaternion?Right now after I swiped Gyro get his transform.position and I ...
0
votes
2answers
873 views

Unity 2D Input.gyro eulerAngles X value strange behaviour

I am working on a project where I want to create an 'scrolling' effect using gyroscope on mobile devices. The basic idea is that I have an Image object in my ...
0
votes
1answer
39 views

Transformation movement by using Accelerometer data

Is It possible to make transformation movement by using Accelerometer data or Accel + Gyro ? as we know, we can make rotation by using Accel or Gyro data. However, how can we make transformation ...
1
vote
1answer
2k views

Gyroscope inaccuracy

I have this code which is rotating my camera object based on Gyro it is working fine ...