Return the player's pitch (angle in the up / down direction).
The default is to get the rotation for the first player spawned in the Minecraft
world, but this can be run for a different player by using the player_id
argument.
Usage
getPlayerPitch(player_id = NULL)
Arguments
player_id
Integer giving the ID of a player. You can find IDs of all
current players using getPlayerIds().
Value
A numeric value between -90 and +90, giving the pitch of
the player's viewpoint, with -90 indicating the player is
looking straight up and +90 indicating that the player is
looking straight down.