1574 Commits

Author SHA1 Message Date
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
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
Cogi Asd
175cfdf488 fix func 2024-07-08 23:15:53 +03:00
MihailRis
690b8f4807 fix: on_render called while paused 2024-07-08 22:56:22 +03:00
Cogi Asd
e55d6a36e3 fix func in libvecn 2024-07-08 22:48:05 +03:00
MihailRis
19c6a82ab2 refactor Entities load + loading velocity 2024-07-08 22:47:01 +03:00
Cogi Asd
783050c488 ref: func in libvecn.cpp 2024-07-08 22:29:29 +03:00
Cogi Asd
48f5926f1d small fix in libvecn.cpp 2024-07-08 22:13:16 +03:00
Cogi Asd
ae62494dd2 final overload for functions 2024-07-08 22:10:55 +03:00
Cogi Asd
c8dc491e4e add: overloading for functions in libvecn.cpp 2024-07-08 21:43:54 +03:00
Cogi Asd
75344023d8 ref: name in libworld.cpp & docs 2024-07-08 21:29:16 +03:00
Cogi Asd
59c50e727b reverse: libplayer 2024-07-08 20:36:56 +03:00
Cogi Asd
e7501a17ac ref: libcore, libvecn 2024-07-08 20:20:37 +03:00
MihailRis
3cd0261f3b refactor and cleanup player controller 2024-07-08 19:43:13 +03:00
Cogi Asd
97b0d99ce6 upd: docs for vectors, libvecn.cpp 2024-07-08 19:36:09 +03:00
MihailRis
487ba84517 implement player entity 2024-07-08 18:45:35 +03:00
Cogi Asd
98504b9f48 add docs for vectors 2024-07-08 17:11:36 +03:00
Cogi Asd
18ed0e6353 update vectors 2024-07-08 16:12:42 +03:00
Cogi Asd
9c45f187f8 ref vectors 2024-07-08 14:54:19 +03:00
Cogi Asd
9a43940baf ref stdcmd.lua, libvecn.cpp 2024-07-08 14:32:59 +03:00
Cogi Asd
a039b2f667 small ref libvecn.cpp 2024-07-08 12:33:28 +03:00
Cogi Asd
42b753d485 ref set/get_vel_time() 2024-07-08 12:26:01 +03:00
Cogi Asd
aed072d3b0 add docs for libcore.cpp 2024-07-08 11:37:22 +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
85c485c9a3 add input.is_active and .is_pressed 2024-07-07 22:33:13 +03:00
MihailRis
77c9c5cdb7 add player entity (draft) 2024-07-07 22:19:15 +03:00
MihailRis
5522cfc231 add "Show Hitboxes" to the debug panel 2024-07-06 05:36:16 +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
0f26bbadfd fix Block.rt and ItemDef.rt initialization 2024-07-06 01:34:52 +03:00
MihailRis
e6d4688f03 despawn entities after chunk unload 2024-07-06 01:30:43 +03:00
MihailRis
cf2faa4a01 implement nextEntityID save/load 2024-07-05 23:41:55 +03:00
MihailRis
f4d3e62b3f add chunk 'entities' flag 2024-07-05 23:26:17 +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
e301dbe164 fix msvc build 2024-07-05 05:27:00 +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
e6c3775286 improve drop visuals 2024-07-03 21:09:38 +03:00
MihailRis
4b084dffad add aabb drop models support 2024-07-03 19:21:05 +03:00
MihailRis
7c5f8107de update drop-item model 2024-07-03 17:46:03 +03:00