mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
update on_physics_update & update standard components
This commit is contained in:
parent
2d29b8c46c
commit
bf682daffe
9 changed files with 12 additions and 29 deletions
|
|
@ -51,8 +51,7 @@ local function process_player_inputs(pid, delta)
|
|||
end
|
||||
end
|
||||
|
||||
function on_physics_update(tps)
|
||||
local delta = (1.0 / tps)
|
||||
function on_physics_update(delta)
|
||||
local pid = entity:get_player()
|
||||
if pid ~= -1 then
|
||||
local pos = tsf:get_pos()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue