Description Usage Arguments Examples
Set the direction in which moveForward will move the player. The heading is measured in degrees. A heading of 180 or -180 degreees is towards North or negative z A heading of 0 degreees is towards South or positive z A heading of 270 or -90 degreees is towards East or positive x A heading of 90 degrees is towards West or negative x
1 | setHeading(player_id, new_heading)
|
player_id |
An integer with the player id |
new_heading |
A numeric with the direction to head forward |
1 2 3 4 | ## Not run:
setHeading(myid, 0)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.