mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
commit
e2d0fa830d
1 changed files with 1 additions and 1 deletions
|
|
@ -96,7 +96,7 @@ local function update_hand()
|
|||
|
||||
local rotation = cam:get_rot()
|
||||
|
||||
local angle = player.get_rot() - 90
|
||||
local angle = player.get_rot(pid) - 90
|
||||
local cos = math.cos(angle / (180 / math.pi))
|
||||
local sin = math.sin(angle / (180 / math.pi))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue