feat: attacks while in the air will now place a hurtbox, in the air
This commit is contained in:
parent
f30902e8c9
commit
28ab75bf8d
|
@ -68,7 +68,7 @@ void PlayerHurtbox(Player* self, DamageEventData damage, Vector hitbox_size, Vec
|
|||
.owner = Player_as_BehaviourEntity(self),
|
||||
.damage = damage,
|
||||
.size = hitbox_size,
|
||||
.offset = offset,
|
||||
.offset = vaddf(offset, MakeVector(0.f, self->height)),
|
||||
.depth_extent = 0.15f,
|
||||
};
|
||||
HurtboxCast(&box, self->facing);
|
||||
|
|
Loading…
Reference in a new issue