mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 19:41:51 +00:00
feat: players interpolation & add hud.set_allow_pause(...)
This commit is contained in:
parent
036e13a2ca
commit
2fa71b3bf0
25 changed files with 232 additions and 41 deletions
|
|
@ -19,7 +19,7 @@ function on_render()
|
|||
return
|
||||
end
|
||||
|
||||
local rx, ry, rz = player.get_rot(pid)
|
||||
local rx, ry, rz = player.get_rot(pid, true)
|
||||
rig:set_matrix(headIndex, mat4.rotate({1, 0, 0}, ry))
|
||||
rig:set_matrix(bodyIndex, mat4.rotate({0, 1, 0}, rx))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue