2020-06-22 22:46:48 -04:00
|
|
|
-- LUALOCALS < ---------------------------------------------------------
|
|
|
|
local nodecore
|
|
|
|
= nodecore
|
|
|
|
-- LUALOCALS > ---------------------------------------------------------
|
|
|
|
|
|
|
|
nodecore.register_playerstep({
|
|
|
|
label = "terminal velocity",
|
|
|
|
action = function(player, data)
|
|
|
|
data.physics.gravity = nodecore.grav_air_physics_player(
|
2021-12-03 08:09:57 -05:00
|
|
|
player:get_velocity())
|
2020-06-22 22:46:48 -04:00
|
|
|
end
|
|
|
|
})
|