Commit graph

94 commits

Author SHA1 Message Date
MihailRis
3ab5095583 cleanup 2026-03-22 22:32:02 +03:00
MihailRis
1d2c8cf4b6 bring back pre-0.30 player controls 2026-03-22 22:21:40 +03:00
MihailRis
0c2e655928 increase MAX_FIX value 2026-03-14 21:44:52 +03:00
MihailRis
1bba713502 fix 2026-03-14 20:53:28 +03:00
MihailRis
3ea3836f84 fix calc_collsion_velocity_result for kinematic other body 2026-03-14 18:49:59 +03:00
MihailRis
ad32d7b6db add 'mass' and 'elasticity' entity properties 2026-03-14 18:47:10 +03:00
MihailRis
f945719d7a improve all directions of collision 2026-03-14 18:22:18 +03:00
MihailRis
3bcb7f7e70 improve floor collision physics (add mass) 2026-03-14 17:46:23 +03:00
MihailRis
15bbf55e29 improve 2026-03-14 14:28:23 +03:00
MihailRis
81858bc7f8 feat: applying Y velocity 2026-03-13 21:31:20 +03:00
MihailRis
06d03f889c feat: new linear damping behaviour 2026-03-13 02:53:43 +03:00
MihailRis
f4e55f9938 update MAX_FIX value 2026-03-11 23:59:03 +03:00
MihailRis
b7cd116e62 cleanup 2026-03-11 23:11:23 +03:00
MihailRis
38b478bc8d cleanup 2026-03-11 22:13:41 +03:00
MihailRis
4b4f2439c0 add more reason to physics simulation substeps 2026-03-11 22:08:40 +03:00
MihailRis
794ce07bd5 fix side collision position correction for blocks 2026-03-09 22:47:41 +03:00
MihailRis
a8dd5e9cb3 fix side collision position correction 2026-03-09 16:35:28 +03:00
MihailRis
7d09a7957c fix division by zero in some cases 2026-03-06 19:47:43 +03:00
MihailRis
8c06048b7e fix 2026-03-05 21:38:53 +03:00
MihailRis
01d46b2690 add groundMaterial 2026-03-05 20:34:35 +03:00
MihailRis
8b48dcbf5a cleanup a bit 2026-03-04 23:34:04 +03:00
MihailRis
546bbcb4e2 reduce duplicating code by increasing complexity even more 2026-03-04 23:29:56 +03:00
MihailRis
8e4e18a86a improve it less cautiously 2026-03-04 22:33:50 +03:00
MihailRis
38354c42f9 applying velocity of ground the worst way possible 2026-03-03 22:18:20 +03:00
MihailRis
7f09c47ffb improve it cautiously 2026-03-03 19:58:23 +03:00
MihailRis
72d9f12613 calibration 2026-03-02 21:50:46 +03:00
MihailRis
aed4f788b5 fixes 2026-03-02 00:50:36 +03:00
MihailRis
e98996e6a9 feat: ceiling collision for solid entities 2026-02-24 23:55:00 +03:00
MihailRis
8dd9e42764 fix crouching check 2026-02-24 23:35:42 +03:00
MihailRis
6aa7739c42 feat: horizontal solid entities collision & increase code duplication 2026-02-24 18:45:31 +03:00
MihailRis
ad5089f383 fix crouching check 2026-02-24 03:34:17 +03:00
MihailRis
b52e990e40 fix step on & move some code somewhere 2026-02-24 00:38:13 +03:00
MihailRis
ed9ceb26ba fix ceiling collision & feat: stepping on solid entity 2026-02-23 21:21:07 +03:00
MihailRis
c8e884009b fix extended blocks collision detection 2026-02-23 18:44:32 +03:00
MihailRis
0a34f9b767 add solid entities (wip) 2026-02-23 17:34:24 +03:00
MihailRis
411bfecedf update PhysicsSolver.cpp 2026-02-19 23:47:25 +03:00
MihailRis
1ea54d10bc fixes (part 1) 2026-02-18 21:18:21 +03:00
MihailRis
5ea8df0743 remove debug logging 2026-02-18 19:07:02 +03:00
MihailRis
b0d231c927 optimize collisions calculations (remove the stupid) 2026-02-18 18:54:49 +03:00
MihailRis
bfa8b7cf3d fix: crouching falling prevention does not reset velocity & fix small hitboxes horizontal collision 2026-02-13 03:51:46 +03:00
MihailRis
0f63fd64ed add 'step-height' entity property 2026-02-13 02:48:40 +03:00
MihailRis
fefc975832 fix: incomplete size transform support by entities 2025-12-03 22:00:55 +03:00
MihailRis
e064ace885 update vertical damping & add rigidbody:get_vdamping 2025-09-07 17:10:13 +03:00
MihailRis
67a5741ed2 update entities physics & fix jumping mobs 2025-09-07 15:07:39 +03:00
MihailRis
dfb83f6835 add core:mob component & move player movement to scripting 2025-08-10 22:55:34 +03:00
MihailRis
c1b311f3c4 refactor: change pointer parameters to references for Level and Content in various classes 2024-12-25 18:53:53 +03:00
MihailRis
1c18c02092 move Chunks from Level to Player 2024-12-17 19:40:00 +03:00
MihailRis
7fcc34ba4c fix collision detection bug 2024-11-04 23:57:10 +03:00
MihailRis
1e00a82db5 fix player collision calculation 2024-08-11 21:10:29 +03:00
MihailRis
f2a987f412 replace remaining tabs in src/ to spaces 2024-08-10 02:04:15 +03:00