Description Usage Arguments Details Note See Also Examples
View source: R/setPlayerOrientation.R
Set a player's direction vector (x,y,z)
1 | setPlayerDirection(x, y, z, id = NULL)
|
x |
east/west direction |
y |
up/down direction |
z |
north/south direction |
id |
Player or entity ID |
(x
, y
, z
) define a unit vector to which the player will now point.
Only works with RaspberryJuice version 1.11 or later.
getPlayerDirection()
, setPlayerRotation()
, setPlayerPitch()
,
setPlayerPos()
1 2 3 4 5 6 | ## Not run:
mc_connect()
getPlayerIds()
setPlayerDirection(45, 355)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.