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
  4. Dismiss Notice

Question How to get velocity based on rotation

Discussion in 'Physics' started by Mechanic_Matt, Aug 31, 2020.

  1. Mechanic_Matt

    Mechanic_Matt

    Joined:
    Aug 18, 2018
    Posts:
    2
    I am trying to make a game where the player is rotated to the left or right based on how fast they are going either left or right relative to the rotation.

    I know how to rotate the player correctly but is there a way or some sort of calculation that can output the speed based on rotation?

    Any help would be much appreciated!
     
  2. koirat

    koirat

    Joined:
    Jul 7, 2012
    Posts:
    2,009
    Last edited: Aug 31, 2020
  3. Mechanic_Matt

    Mechanic_Matt

    Joined:
    Aug 18, 2018
    Posts:
    2
    That is very close to what I need, I just need a way to find T (The time it takes to rotate around the circle), but that may need the velocity anyway. I will look around for some sort of formula that might be able to help.

    Thank you very much for the help though!