Commit graph

310 commits

Author SHA1 Message Date
MihailRis
c73b036099 cleanup World references 2026-06-20 22:17:27 +03:00
MihailRis
3476bddc6b feat: environment is primary 2026-05-16 22:24:35 +03:00
MihailRis
0975fcd819 fix tick intervals in headless mode 2026-05-02 15:36:49 +03:00
MihailRis
bb44b4186b fix entity bounding box check on block place 2026-04-05 10:55:30 +03:00
MihailRis
9893c09fd5 fix: destroyed skeleton config access on skeleton reload 2026-04-05 10:31:44 +03:00
MihailRis
33db2633a2 fix: player name 3d text not updating by Decorator 2026-04-03 19:49:19 +03:00
MihailRis
53027cf153 add 'material' entity property 2026-03-19 21:24:01 +03:00
MihailRis
4befbb0086 add 'player-min-spawn-height', 'player-max-spawn-height' generator parameters 2026-03-19 19:15:11 +03:00
MihailRis
2600dd7ed9 add 'player-spawn-radius' generator parameter 2026-03-19 19:03:22 +03:00
MihailRis
48db924c29 fix static entities 2026-03-17 23:02:50 +03:00
MihailRis
bd7f588800 add mass, elasticity getters, setters to entity.rigidbody 2026-03-14 21:02:02 +03:00
MihailRis
436601a5b0 fix Entities::preparePhysics 2026-03-14 18:53:32 +03:00
MihailRis
ad32d7b6db add 'mass' and 'elasticity' entity properties 2026-03-14 18:47:10 +03:00
MihailRis
fc57e98a96 feat: third-person camera now checks solid entities 2026-03-14 15:47:26 +03:00
MihailRis
4b4f2439c0 add more reason to physics simulation substeps 2026-03-11 22:08:40 +03:00
MihailRis
a8dd5e9cb3 fix side collision position correction 2026-03-09 16:35:28 +03:00
MihailRis
0fe0cc5829 fix: sensors list not clearing 2026-03-09 12:39:16 +03:00
MihailRis
7d09a7957c fix division by zero in some cases 2026-03-06 19:47:43 +03:00
MihailRis
f726702f21 update substeps calculation scheme 2026-03-04 20:48:04 +03:00
MihailRis
38354c42f9 applying velocity of ground the worst way possible 2026-03-03 22:18:20 +03:00
MihailRis
0a34f9b767 add solid entities (wip) 2026-02-23 17:34:24 +03:00
MihailRis
b0d231c927 optimize collisions calculations (remove the stupid) 2026-02-18 18:54:49 +03:00
MihailRis
0f63fd64ed add 'step-height' entity property 2026-02-13 02:48:40 +03:00
MihailRis
5380bcf013 refactor world renderer a bit 2026-02-02 22:40:54 +03:00
MihailRis
b69c92b330 Merge branch 'main' into volume-renderer 2026-02-02 20:17:17 +03:00
MihailRis
a7ffbc9dec add more debug messages and checks 2026-02-02 19:54:24 +03:00
MihailRis
f1d85000e4 add transform vectors/matrices nan/inf check 2026-02-02 19:38:43 +03:00
MihailRis
8b5261f4f1 fix fatal error when skeleton is missing 2026-01-18 23:35:18 +03:00
MihailRis
d07c8e5234 fix skeleton name serialization 2026-01-18 17:57:21 +03:00
MihailRis
42c4716be2 change: skeletons are assets now, not content units 2026-01-16 01:01:15 +03:00
MihailRis
587c140a6b remove bone::addBone 2026-01-15 23:17:47 +03:00
MihailRis
c34cb57fb8 feat: named bones and skeleton building 2026-01-15 21:51:39 +03:00
MihailRis
f602384a94 update player spawn point auto selection 2026-01-09 03:26:32 +03:00
MihailRis
088bfc878e fix: player not spawning entity after set_suspended(pid, false) 2026-01-09 02:36:13 +03:00
MihailRis
d708e8d21c cleanup 2025-12-16 00:45:15 +03:00
MihailRis
180dd5051b fix fatal error on invalid item id in inventory 2025-12-16 00:17:51 +03:00
MihailRis
fefc975832 fix: incomplete size transform support by entities 2025-12-03 22:00:55 +03:00
MihailRis
9e817c39ce disable mouse camera control if non-standard camera used 2025-11-04 17:55:01 +03:00
MihailRis
9cb9b095e8 add new players finding functions 2025-10-16 22:00:00 +03:00
MihailRis
2210ba8218 add includes 2025-10-16 21:43:02 +03:00
MihailRis
b14bad5d24
add platform::get_executable_path (#638) 2025-10-03 21:22:16 +03:00
MihailRis
9963bc4134 Merge branch 'main' into dev 2025-10-01 00:07:53 +03:00
MihailRis
75ef603df0 fix non-local players interpolation and head direction 2025-09-29 22:21:14 +03:00
MihailRis
dba3b62964 rename 'max-interaction-distance' to 'interaction-distance' 2025-09-27 10:06:22 +03:00
MihailRis
b98954f95e cleanup 2025-09-26 22:03:08 +03:00
GHOST11111100
792ee63f22
Player Attributes (#578)
* feat: add max interaction distance functionality to Player class and Lua bindings

* feat: add getter and setter for max interaction distance in Player class documentation

* feat: add speed and gravity scale properties with corresponding getters and setters in Player class

* fix: replace deprecated __max and __min with std::max and std::min in setMaxInteractionDistance

* feat: add time scale functionality with getters and setters in World and Engine classes

* remove speed and gravity scale functions from player and world libraries

* remove time scale setting on world open and close

* rename interaction distance functions for consistency

* refactor: update interaction distance functions and remove time scale methods

* refactor: revert classes.lua to dev

* refactor: remove time scale functionality from Engine and World classes

* fix: Now I’ve definitely rolled back `classes.lua`.

* refactor: remove unused player attributes and clean up player class

* Update Player.hpp

removed unused methods from Player.cpp
2025-09-26 21:59:15 +03:00
MihailRis
bf682daffe update on_physics_update & update standard components 2025-09-13 23:24:57 +03:00
MihailRis
6d3dac9106 add 'on_physics_update' entity event 2025-08-13 21:29:20 +03:00
MihailRis
dfb83f6835 add core:mob component & move player movement to scripting 2025-08-10 22:55:34 +03:00
MihailRis
fc573b4c6e erase and forget 2025-08-09 23:40:09 +03:00