Search Unity

when the ball stop rolling player go to new position of the ball

Discussion in 'Scripting' started by ltnksr, Jan 14, 2019.

  1. ltnksr

    ltnksr

    Joined:
    Oct 4, 2017
    Posts:
    7
    Hello everyone i need your help please. My player has a ball and it throw the ball. i need when the ball stop rolling , my player go to balls new position.
     
  2. stefan_s_from_h

    stefan_s_from_h

    Joined:
    Nov 26, 2017
    Posts:
    72
    You could read the magnitude of the velocity to see if it is still rolling or slower than a certain speed.