mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-08 20:41:49 +00:00
fix player library docs
This commit is contained in:
parent
944450aa0f
commit
51f07450d8
2 changed files with 4 additions and 4 deletions
|
|
@ -40,13 +40,13 @@ Sets x, y, z player linear velocity
|
|||
player.get_rot(playerid: int, interpolated: bool) -> number, number, number
|
||||
```
|
||||
|
||||
Returns x, y, z of camera rotation (radians). Interpolation is relevant in cases where the rotation refresh rate is lower than the frame rate.
|
||||
Returns x, y, z of camera rotation (degrees). Interpolation is relevant in cases where the rotation refresh rate is lower than the frame rate.
|
||||
|
||||
```lua
|
||||
player.set_rot(playerid: int, x: number, y: number, z: number)
|
||||
```
|
||||
|
||||
Set camera rotation (radians)
|
||||
Set camera rotation (degrees)
|
||||
|
||||
```lua
|
||||
player.get_inventory(playerid: int) -> int, int
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue