setPlayerPitch: Set a player's pitch

Description Usage Arguments Note See Also Examples

View source: R/setPlayerOrientation.R

Description

Set a player's pitch

Usage

1
setPlayerPitch(angle, id = NULL)

Arguments

angle

Angle of pitch (-90 is straight up and +90 is straight down)

id

Player or entity ID

Note

Only works with RaspberryJuice version 1.11 or later.

See Also

getPlayerPitch(), setPlayerRotation(), setPlayerDirection(), setPlayerPos()

Examples

1
2
3
4
5
6
## Not run: 
mc_connect()
getPlayerIds()
setPlayerPitch(45, 355)

## End(Not run)

ropenscilabs/miner documentation built on Jan. 21, 2021, 7:23 p.m.