Utility APIs
Miscellaneous utility functions.
Math API
distance_3d()
local dist = kinetic.math.distance_3d(x1, y1, z1, x2, y2, z2)distance_2d()
local dist = kinetic.math.distance_2d(x1, y1, x2, y2)Utils API
get_fps()
local fps = kinetic.utils.get_fps()angle_between()
local angle = kinetic.utils.angle_between(x1, y1, x2, y2)normalize_angle()
local normalized = kinetic.utils.normalize_angle(angle)lerp()
clamp()
Target API
get_current()
is_locked()
World API
get_gravity()
set_fog()
get_time()
Menu API
is_open()
Next Steps
Last updated