powered by
Set a player's pitch
setPlayerPitch(angle, id = NULL)
Angle of pitch (-90 is straight up and +90 is straight down)
Player or entity ID
getPlayerPitch(), setPlayerRotation(), setPlayerDirection(), setPlayerPos()
getPlayerPitch()
setPlayerRotation()
setPlayerDirection()
setPlayerPos()
# NOT RUN { mc_connect() getPlayerIds() setPlayerPitch(45, 355) # } # NOT RUN { # }
Run the code above in your browser using DataLab