mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 02:51:49 +00:00
add entities raycast
This commit is contained in:
parent
638a0d9850
commit
c17f3fec54
8 changed files with 90 additions and 15 deletions
|
|
@ -60,6 +60,7 @@ Hitbox* Player::getHitbox() {
|
|||
return nullptr;
|
||||
}
|
||||
|
||||
#include "EntityDef.hpp"
|
||||
void Player::updateInput(PlayerInput& input, float delta) {
|
||||
auto hitbox = getHitbox();
|
||||
if (hitbox == nullptr) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue