Check if Player is looking down/up

Discussion in 'Plugin Development' started by DarkFuzzyCookie, Jun 17, 2015.

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

    DarkFuzzyCookie

    Exactly what the title says, I can't figure it out. Does it involve something with pitch and yaw?
     
  2. Offline

    Lilret123

    @DarkFuzzyCookie its the player's pitch, if its positive they're looking down, ifs its negative they're looking up.
     
  3. Offline

    Zombie_Striker

    @DarkFuzzyCookie
    Do the thing all real developers do and test it.
    Code:
    System.out.println("pitch"+Player#getLocation().getPitch+" yaw" +Player#getLocation().getYaw());
     
    SuperOriginal likes this.
Thread Status:
Not open for further replies.

Share This Page