REDxEYE
1be50c2e06
libblock.raycast: Add argument to specify blocks to ignore during ray casting
...
libentity.raycast: Add argument to specify blocks to ignore during ray casting
Chunk::rayCast: Add argument to specify blocks to ignore during ray casting.
On lua side filter blocks are passed as list of strings in form of "MOD:BLOCK_NAME"
On C++ size filter blocks are std::set of blockid_t
2024-08-19 21:36:30 +03:00
MihailRis
f43cc93cd2
update project includes format
2024-08-10 01:37:48 +03:00
InfiniteCoder
85239004e3
window/
2024-08-06 00:07:33 +03:00
InfiniteCoder
f66d0ce7fd
physics/
2024-08-06 00:07:00 +03:00
InfiniteCoder
c7755040bd
voxels/
2024-08-04 22:42:44 +03:00
InfiniteCoder
5c9bc83bbd
items/ + objects/ + util/
2024-08-04 22:26:08 +03:00
InfiniteCoder
e1e3456139
content/
2024-08-04 12:45:08 +03:00
InfiniteCoder
d5dc68dd38
Root includes
2024-08-04 10:24:11 +03:00
MihailRis
245b39be62
refactor: PVS-Studio warnings fixes
2024-08-04 01:12:42 +03:00
Vyacheslav Ivanov
bbf33e8e4d
format: reformat project
...
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-03 19:53:48 +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
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
9cdf3e29cc
add entities.raycast & update docs structure
2024-07-15 05:42:09 +03:00
MihailRis
035b51ff85
add entity:get_skeleton
2024-07-13 03:13:28 +03:00
MihailRis
3b24982c0d
rename entity:set_rig to entity:set_skeleton
2024-07-13 01:25:32 +03:00
MihailRis
ffb7aa1189
add 'camera' library
2024-07-12 06:14:13 +03:00
MihailRis
60f4f33180
rename rig to skeleton
2024-07-10 04:28:12 +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
19c6a82ab2
refactor Entities load + loading velocity
2024-07-08 22:47:01 +03:00
MihailRis
49aa64a033
change rigs role from assets to content units
2024-07-08 05:03:09 +03:00
MihailRis
c8666910ce
feat: loading entities (WIP)
2024-07-05 22:51:03 +03:00
MihailRis
a6aa42a521
add transform:get_size(), :set_size(...)
2024-07-04 06:18:11 +03:00
MihailRis
7c5f8107de
update drop-item model
2024-07-03 17:46:03 +03:00
MihailRis
48b5be6bc9
add drop-item model, new block functions
2024-07-03 16:34:09 +03:00
MihailRis
39d850a48c
add modeltree:set_texture
2024-07-03 03:33:39 +03:00
MihailRis
42ea88501d
add modeltree:get_matrix, :set_matrix
2024-07-02 22:13:16 +03:00
MihailRis
3fe66e134d
add modeltree:get_model(index)
2024-07-02 17:06:33 +03:00
MihailRis
8e08f79b54
add modeltree component
2024-07-01 22:09:52 +03:00
MihailRis
1b41a75cf4
add component ARGS variable
2024-07-01 00:17:58 +03:00
MihailRis
d4460928e5
add Transform.dirty flag
2024-06-30 19:19:43 +03:00
MihailRis
d22948f45c
update entity.spawn(...): now returns an Entity instead of id
2024-06-29 21:10:23 +03:00
MihailRis
e1eb652ef4
add entity.exists(...)
2024-06-27 16:07:40 +03:00
MihailRis
e11760a5e4
add entity.despawn(...)
2024-06-27 14:26:51 +03:00
MihailRis
6d7f950410
add Rigidbody.is_enabled, .set_enabled
2024-06-27 08:23:01 +03:00
MihailRis
1ca0761f49
update entity.spawn(...)
2024-06-27 07:50:26 +03:00
MihailRis
94dd69350d
add Transform and Rigidbody components (test)
2024-06-27 07:43:38 +03:00
MihailRis
f70e923c7c
entity.get_rot, .set_rot
2024-06-27 05:23:44 +03:00
MihailRis
20ab48ecab
add drop.json
2024-06-27 03:09:16 +03:00
MihailRis
8e931d8f53
add entity library
2024-06-25 16:35:06 +03:00
MihailRis
eacbc1b9d0
add entity.test(...) function
2024-06-24 23:36:20 +03:00