492 Commits

Author SHA1 Message Date
MihailRis
fe1ac69b57 improve lua errors handling (traceback) & lua stack leaks fixes 2024-07-24 16:19:14 +03:00
MihailRis
b23f7e996f fix skeleton:index(...) 2024-07-23 22:48:26 +03:00
MihailRis
c3b6025e20 fix missing include 2024-07-22 19:38:23 +03:00
MihailRis
058daf6117 add camera:look_at optional interpolation parameter 2024-07-22 19:32:05 +03:00
MihailRis
e0cb57a10a add quat Lua library 2024-07-22 19:05:27 +03:00
MihailRis
b5e7b63a9d refactor lua libraries 2024-07-22 18:14:54 +03:00
MihailRis
012e81d4c9 add doc/**/cameras.md & update cameras library 2024-07-22 16:50:03 +03:00
MihailRis
b5d7634601 fix player.get_camera 2024-07-22 14:19:09 +03:00
MihailRis
34ab3eb41c add player.get_camera(playerid) 2024-07-22 14:16:28 +03:00
MihailRis
52c39d25d0 add skeleton:get_color(), skeleton:set_color(...) 2024-07-20 21:15:04 +03:00
MihailRis
fbced2504e fix msvc build 2024-07-19 10:32:00 +03:00
MihailRis
02c9c4ced3 add mat4.from_quat(...) & update mat4.decompose(...) 2024-07-19 07:48:42 +03:00
MihailRis
3549c1f326 update entity methods set 2024-07-18 12:08:43 +03:00
MihailRis
d285ffb2f7 update entities library semantics 2024-07-18 11:54:37 +03:00
MihailRis
c9257ec127 add block.place(...), block.destruct(...) 2024-07-18 08:41:16 +03:00
MihailRis
5a3f28f2b5 add entities.name(...) and entity:get_name(...) 2024-07-17 20:15:45 +03:00
MihailRis
1eac343619 add entities.get_all(...), .get_all_in_box(...), .get_all_in_radius(...) 2024-07-17 14:51:55 +03:00
MihailRis
739ef49d8f feat: automatically loading models used in skeleton 2024-07-17 12:12:40 +03:00
MihailRis
1b99a48849 update entities.spawn(...) semantics to the docs state 2024-07-17 10:17:20 +03:00
MihailRis
41a22938d6 add 'entity.despawn' command 2024-07-17 07:35:02 +03:00
MihailRis
0df5d34e04 add logging functions to the library 'debug' 2024-07-16 12:32:00 +03:00
MihailRis
d5877a342f feature: bone model overriding 2024-07-16 10:00:40 +03:00
MihailRis
8bb736bef0 add skeleton:is_visible(...), skeleton:set_visible(...) 2024-07-15 12:05:11 +03:00
MihailRis
055781eeaf add skeleton:index(...) and player test model 2024-07-15 08:56:27 +03:00
MihailRis
9cdf3e29cc add entities.raycast & update docs structure 2024-07-15 05:42:09 +03:00
MihailRis
9cec475866 add block.raycast(...) 2024-07-14 13:16:07 +03:00
MihailRis
e73ccaded1 add player.get_selected_entity(...) & update docs 2024-07-14 12:00:58 +03:00
MihailRis
035b51ff85 add entity:get_skeleton 2024-07-13 03:13:28 +03:00
MihailRis
ffb0ab2f05 add skeleton:get_texture 2024-07-13 01:51:50 +03:00
MihailRis
3b24982c0d rename entity:set_rig to entity:set_skeleton 2024-07-13 01:25:32 +03:00
MihailRis
6214bf4a19 add rigidbody.get_linear_damping, .set_linear_damping 2024-07-13 00:05:10 +03:00
MihailRis
247acb3687 add cameras.look_at, player.set_camera, base:cinematic camera 2024-07-12 08:23:22 +03:00
MihailRis
ce7037e9d0 add new cameras.* functions 2024-07-12 07:06:31 +03:00
MihailRis
ffb7aa1189 add 'camera' library 2024-07-12 06:14:13 +03:00
MihailRis
ca8652ffab add packs resources (WIP) 2024-07-11 10:32:05 +03:00
MihailRis
30dd853044 Merge branch 'main' into entities 2024-07-11 03:32:05 +03:00
MihailRis
dc926ce4df add mat4.look_at(...) 2024-07-11 03:31:48 +03:00
MihailRis
ee768f878c fix transform:set_pos 2024-07-11 01:10:23 +03:00
MihailRis
adabe781c5 add hud.is_paused and hud.is_inventory_open 2024-07-10 10:12:07 +03:00
MihailRis
60f4f33180 rename rig to skeleton 2024-07-10 04:28:12 +03:00
MihailRis
257ba86183 add vec3.random_normal and fix entities cleanup moment 2024-07-10 00:39:41 +03:00
MihailRis
277155e3d1 update block library docs & add block.get_picking_item(...) 2024-07-09 18:39:33 +03:00
MihailRis
0a14d6220a add BodyType, fix crouching 2024-07-09 06:39:05 +03:00
MihailRis
371acf0008 add rigidbody.is_grounded 2024-07-09 04:41:37 +03:00
MihailRis
f4653878a2 add player.get/set_entity 2024-07-09 04:27:18 +03:00
MihailRis
9d98c40528 add rigidbody.set/is_vdamping 2024-07-09 02:55:02 +03:00
MihailRis
848de01448 move built-in components to separate cpp files 2024-07-09 02:36:14 +03:00
MihailRis
b4cf00a8f1 add rigidbody.set/get_gravity_scale 2024-07-09 02:24:00 +03:00
MihailRis
cb37d3b00c refactor libentity.cpp 2024-07-09 02:20:22 +03:00
MihailRis
3cafc39555 Merge branch 'main' into entities 2024-07-08 23:29:48 +03:00