mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 11:01:49 +00:00
remove Player.hitbox (WIP)
This commit is contained in:
parent
2c7b5de50a
commit
7dfda981a8
11 changed files with 108 additions and 94 deletions
|
|
@ -109,6 +109,7 @@ std::unique_ptr<Level> World::load(
|
|||
auto players = playerFile->list("players");
|
||||
for (size_t i = 0; i < players->size(); i++) {
|
||||
auto player = level->spawnObject<Player>(
|
||||
level.get(),
|
||||
glm::vec3(0, DEF_PLAYER_Y, 0),
|
||||
DEF_PLAYER_SPEED,
|
||||
level->inventories->create(DEF_PLAYER_INVENTORY_SIZE),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue