add entity.test(...) function
This commit is contained in:
@@ -247,9 +247,6 @@ void PlayerController::update(float delta, bool input, bool pause) {
|
||||
camControl.refresh();
|
||||
if (input) {
|
||||
updateInteraction();
|
||||
if (Events::jactive("player.drop")) {
|
||||
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;
|
||||
player->selection.vox.state.rotation = 0;
|
||||
|
||||
Reference in New Issue
Block a user