Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Velocity vector of a point on a rotating mass

Discussion in 'Physics' started by aaron95j, Jan 7, 2016.

  1. aaron95j

    aaron95j

    Joined:
    Dec 9, 2013
    Posts:
    30
    Hey!

    So say I have a rigid body with an angular velocity, but no linear velocity to make things simpler.
    using it's rotational rate how do I find the velocity of a specific point in the object?

    Thank you.
     
  2. MelvMay

    MelvMay

    Unity Technologies

    Joined:
    May 24, 2013
    Posts:
    11,324
    Have you tried looking at the documentation?

    Rigidbody
    Rigidbody2D

    You can use GetPointVelocity and GetRelativePointVelocity.
     
  3. aaron95j

    aaron95j

    Joined:
    Dec 9, 2013
    Posts:
    30
    Oops, I'm sorry about that I did do a search online which normally turns up something in the documentation if it fits, I left out "rigidbody" and got nowhere because of that.

    That does exactly what I need thank you!