Make a player look up

Discussion in 'Plugin Development' started by Zarkopafilis, Oct 14, 2013.

Thread Status:
Not open for further replies.
  1. Offline

    Zarkopafilis

    I forgot (and cant find) how pitch - yaw - roll works. I am trying to make a player look up. What values should yaw and pitch be?
     
  2. Offline

    Rocoty

    Yaw could stay, pitch should be somewhere between 0 and 90, don't worry about roll
     
  3. Pitch is the value you want. I guess 0 is straight, -1 down and 1 up.

    Edit: Ninja'd with right answer instead of mine. Well, at least pitch was right then :D
     
    Rocoty likes this.
  4. Offline

    Zarkopafilis

    I think it goes from -90 to 90... investigating
     
  5. Offline

    Rocoty

    Yes but subzero values would lead the player to look down.
     
Thread Status:
Not open for further replies.

Share This Page