Search Unity

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,073
    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!