Skip to main content

Questions tagged [gyroscope]

Filter by
Sorted by
Tagged with
2 votes
0 answers
64 views

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 ...
Илья Виноградов's user avatar
0 votes
1 answer
171 views

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 ...
Operator's user avatar
2 votes
0 answers
1k views

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 ...
Cato's user avatar
  • 103
0 votes
0 answers
362 views

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 ...
Robotex's user avatar
  • 251
0 votes
0 answers
2k views

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?
Robotex's user avatar
  • 251
0 votes
1 answer
326 views

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 ...
TaengGuRiMon's user avatar
0 votes
0 answers
386 views

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). ...
Brandon's user avatar
0 votes
1 answer
450 views

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 ...
erik's user avatar
  • 1,378
0 votes
1 answer
2k views

I'm working on a mobile game in Unity and using the gyroscope to rotate an object along the x and y axes. ...
airvine's user avatar
  • 103
-1 votes
0 answers
39 views

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 ...
Petrit's user avatar
  • 1
0 votes
1 answer
2k views

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 ...
Petrit's user avatar
  • 1
1 vote
1 answer
4k views

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, ...
TheCell's user avatar
  • 103
1 vote
0 answers
176 views

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 ...
GuardFromUA's user avatar
0 votes
2 answers
1k views

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 ...
h4rd4r7c0r3's user avatar
0 votes
1 answer
89 views

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 ...
Kayumiy's user avatar
1 vote
1 answer
2k views

I have this code which is rotating my camera object based on Gyro it is working fine ...
Muhammad Faizan Khan's user avatar