mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
add entity models rigging draft
This commit is contained in:
parent
c9fc4a85b8
commit
5a01eca780
4 changed files with 38 additions and 2 deletions
|
|
@ -248,7 +248,7 @@ void PlayerController::update(float delta, bool input, bool pause) {
|
|||
if (input) {
|
||||
updateInteraction();
|
||||
if (Events::jactive("player.drop")) {
|
||||
level->entities->drop(player->camera->position, player->camera->front*10.0f+player->hitbox->velocity);
|
||||
level->entities->drop(player->camera->position, player->camera->front*8.0f+glm::vec3(0, 2, 0)+player->hitbox->velocity);
|
||||
}
|
||||
} else {
|
||||
player->selection.vox.id = BLOCK_VOID;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue