powered by
Set a player's direction vector (x,y,z)
setPlayerDirection(x, y, z, id = NULL)
east/west direction
up/down direction
north/south direction
Player or entity ID
(x, y, z) define a unit vector to which the player will now point.
x
y
z
getPlayerDirection(), setPlayerRotation(), setPlayerPitch(), setPlayerPos()
getPlayerDirection()
setPlayerRotation()
setPlayerPitch()
setPlayerPos()
# NOT RUN { mc_connect() getPlayerIds() setPlayerDirection(45, 355) # } # NOT RUN { # }
Run the code above in your browser using DataLab