Update mobkit_api.txt
parent
14184826e9
commit
c8f024f97a
|
@ -320,6 +320,9 @@ function mobkit.dir_to_rot(v,rot)
|
|||
-- converts a 3d vector v to rotation like in set_rotation() object method
|
||||
-- rot (optional) is current object rotation
|
||||
|
||||
function mobkit.rot_to_dir(rot)
|
||||
-- converts minetest rotation vector (pitch,yaw,roll) to direction unit vector
|
||||
|
||||
function mobkit.is_alive(thing)
|
||||
-- non essential, checks if thing exists in the world and is alive
|
||||
-- makes an assumption that luaentities are considered dead when their hp < 100
|
||||
|
|
Loading…
Reference in New Issue