131 Commits

Author SHA1 Message Date
MihailRis
c94c2697e7 rename Trigger to Sensor 2024-07-09 07:37:20 +03:00
MihailRis
0a14d6220a add BodyType, fix crouching 2024-07-09 06:39:05 +03:00
MihailRis
f4653878a2 add player.get/set_entity 2024-07-09 04:27:18 +03:00
MihailRis
b4cf00a8f1 add rigidbody.set/get_gravity_scale 2024-07-09 02:24:00 +03:00
MihailRis
f52a435aea add Hitbox.gravityMultiplier 2024-07-09 02:14:14 +03:00
MihailRis
f3201b7742 fix: player flight linearDamping, add verticalDamping (bool) 2024-07-08 23:53:25 +03:00
MihailRis
3cafc39555 Merge branch 'main' into entities 2024-07-08 23:29:48 +03:00
MihailRis
690b8f4807 fix: on_render called while paused 2024-07-08 22:56:22 +03:00
MihailRis
19c6a82ab2 refactor Entities load + loading velocity 2024-07-08 22:47:01 +03:00
Cogi Asd
59c50e727b reverse: libplayer 2024-07-08 20:36:56 +03:00
MihailRis
3cd0261f3b refactor and cleanup player controller 2024-07-08 19:43:13 +03:00
MihailRis
487ba84517 implement player entity 2024-07-08 18:45:35 +03:00
MihailRis
49aa64a033 change rigs role from assets to content units 2024-07-08 05:03:09 +03:00
MihailRis
7dfda981a8 remove Player.hitbox (WIP) 2024-07-08 03:51:46 +03:00
Cogi Asd
7a1c035f01 add: lua func 2024-07-07 23:53:27 +03:00
MihailRis
2c7b5de50a refactor src/objects/rigging 2024-07-07 23:44:57 +03:00
MihailRis
0d230f2449 add entity 'on_render' event 2024-07-07 22:59:15 +03:00
MihailRis
77c9c5cdb7 add player entity (draft) 2024-07-07 22:19:15 +03:00
MihailRis
9efb327270 refactor: minor cleanup 2024-07-06 02:55:19 +03:00
MihailRis
623b6ad8be remove extra debug output 2024-07-06 01:37:18 +03:00
MihailRis
cf2faa4a01 implement nextEntityID save/load 2024-07-05 23:41:55 +03:00
MihailRis
c8666910ce feat: loading entities (WIP) 2024-07-05 22:51:03 +03:00
MihailRis
08cc78289d add entity on_save event and SAVED_DATA variable 2024-07-05 18:35:46 +03:00
MihailRis
f0270d3391 feat: saving entities (WIP) 2024-07-05 05:16:31 +03:00
MihailRis
8f379f2ee7 feat: multiple components per entity support 2024-07-04 19:47:52 +03:00
MihailRis
a6aa42a521 add transform:get_size(), :set_size(...) 2024-07-04 06:18:11 +03:00
MihailRis
736e5b95b6 add radial triggers 2024-07-04 06:09:29 +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
8add39e506 add entity trigger type parameter 2024-07-02 23:54:38 +03:00
MihailRis
42ea88501d add modeltree:get_matrix, :set_matrix 2024-07-02 22:13:16 +03:00
MihailRis
0082a3444e update component parent environment to the pack environment 2024-07-02 20:01:29 +03:00
MihailRis
3fe66e134d add modeltree:get_model(index) 2024-07-02 17:06:33 +03:00
MihailRis
56ef207b7d update entities render to use rigs 2024-07-02 15:04:41 +03:00
MihailRis
8e08f79b54 add modeltree component 2024-07-01 22:09:52 +03:00
MihailRis
beac332c96 update RigConfig 2024-07-01 05:30:27 +03:00
MihailRis
1b41a75cf4 add component ARGS variable 2024-07-01 00:17:58 +03:00
MihailRis
15496070e0 add "triggers" entity property 2024-06-30 23:14:02 +03:00
MihailRis
50f9bd508a update rigging 2024-06-30 20:35:42 +03:00
MihailRis
d4460928e5 add Transform.dirty flag 2024-06-30 19:19:43 +03:00
MihailRis
df39a9a8f3 add new model and "optimizations" 2024-06-30 18:24:30 +03:00
MihailRis
1ec5f0b170 update drop model 2024-06-30 17:23:35 +03:00
MihailRis
5769be8ec8 add triggers 2024-06-30 16:25:08 +03:00
MihailRis
50c714692a add entity event: on_fall 2024-06-30 00:32:02 +03:00
MihailRis
982c8b132d add on_update event 2024-06-29 22:19:42 +03:00
MihailRis
fc3994446a update entity script semantics 2024-06-29 21:01:30 +03:00
MihailRis
e0e5faa4a8 add entity event: on_grounded 2024-06-28 12:47:45 +03:00
MihailRis
eb2be5e8b6 add entity events: on_spawn, on_despawn 2024-06-28 12:16:31 +03:00
MihailRis
e1eb652ef4 add entity.exists(...) 2024-06-27 16:07:40 +03:00
MihailRis
4df0f4e1e4 fix destroyed entities validation 2024-06-27 15:53:51 +03:00