mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-12 14:31:50 +00:00
update docs
This commit is contained in:
parent
177994b9fd
commit
01b4b6f19a
4 changed files with 10 additions and 4 deletions
|
|
@ -37,10 +37,10 @@ player.set_vel(playerid: int, x: number, y: number, z: number)
|
|||
Sets x, y, z player linear velocity
|
||||
|
||||
```lua
|
||||
player.get_rot(playerid: int) -> number, number, number
|
||||
player.get_rot(playerid: int, interpolated: bool) -> number, number, number
|
||||
```
|
||||
|
||||
Returns x, y, z of camera rotation (radians)
|
||||
Returns x, y, z of camera rotation (radians). 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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue