Questions tagged [gyroscope]
The gyroscope tag has no summary.
16 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
2
votes
0
answers
47
views
How can I disable the built-in gyro control in Cardboard VR?
When I create a project in Unity, enable Google Cardboard VR support, and build a project on Android, the camera is controlled by a gyroscope, although I did not write any controllers.
Even if I ...
0
votes
1
answer
156
views
Smartphone tilt calculation when using gyroscope in Unity (smartphone moving problem)
I have been trying for several days now to set up the correct behavior of the gyroscope in Unity. I want to make it so that when the smartphone is tilted, the object tilts along the z-axis. I found ...
2
votes
0
answers
983
views
Tilting device about one axis in any orientation using gyroscope sensor
I am developing a Unity game where I need to tilt an iOS device to steer a ship as it flies in a straight line. The steering should be consistently accurate in any orientation, e.g. if the player ...
0
votes
0
answers
332
views
How to use Kalman's Filter to remove gyroscope drift of PS5 DualSense gamepad?
Playstation's gamepad allows us to use gyroscope and accelerometer data but it has a small drift which leads to mouse cursor vibration.
I think, we can combine gyroscope and accelerometer data into ...
0
votes
0
answers
2k
views
What is the PS5 DualSense gyroscope and accelerometer values range?
I'm trying to implement aiming in shooter using gyroscope but I can't find the minimum and maximum value for each axis to normalize it to range (-1;1)
What is the possible values range?
0
votes
1
answer
317
views
How to properly get the x-axis value among the data of the smartphone's gyro sensor in Unity
I want to load x, y, z data using the IMU sensor of the smartphone.
Input_gyro_attitude_eulerAngles = Input.gyro.attitude.eulerAngles - Offset; // gyro angle
...
0
votes
0
answers
381
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
1
answer
431
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
1
answer
2k
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
0
answers
38
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
1
answer
2k
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 ...
1
vote
1
answer
4k
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
0
answers
163
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
2
answers
1k
views
Gyroscope scrolling using Input.gyro.eulerAngles.x reverses direction at 90°
I am working on a project where I want to create a 'scrolling' effect using the gyroscope on mobile devices. The basic idea is that I have an Image object in my ...
0
votes
1
answer
75
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 ...