Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Transformation movement by using Accelerometer data coming from Smart Phones.

Discussion in 'Scripting' started by KAYUMIY, Sep 8, 2017.

  1. KAYUMIY

    KAYUMIY

    Joined:
    Nov 12, 2015
    Posts:
    115
    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 movement?
    I know this is still problematic and experimental. but there must be some ways to reach.

    Is there any algorithm or math formula solving this problem?
     
  2. Scabbage

    Scabbage

    Joined:
    Dec 11, 2014
    Posts:
    268
  3. KAYUMIY

    KAYUMIY

    Joined:
    Nov 12, 2015
    Posts:
    115
  4. Scabbage

    Scabbage

    Joined:
    Dec 11, 2014
    Posts:
    268
  5. KAYUMIY

    KAYUMIY

    Joined:
    Nov 12, 2015
    Posts:
    115
    I did not say it uses gyro.
     
  6. Scabbage

    Scabbage

    Joined:
    Dec 11, 2014
    Posts:
    268
    A linear accelerometer does exactly what you're asking for, I don't see the problem.
     
  7. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    11,025
  8. KAYUMIY

    KAYUMIY

    Joined:
    Nov 12, 2015
    Posts:
    115


    I need this kind of transformation movement. If you watch the video, you can see what I want to do.
    Thank You for your time and effort.
     
  9. nre3d

    nre3d

    Joined:
    Sep 18, 2017
    Posts:
    2
  10. Hiteshappindia

    Hiteshappindia

    Joined:
    Mar 9, 2018
    Posts:
    4