Made player-to-player attacks easier to land
This commit is contained in:
parent
cae6ef02fc
commit
71fb968c56
|
@ -37,7 +37,7 @@ int detect_player_hitbox_overlap(struct MarioState* local, struct MarioState* re
|
|||
f32 dx = aTorso[0] - bTorso[0];
|
||||
UNUSED f32 sp30 = sp3C - sp38;
|
||||
f32 dz = aTorso[2] - bTorso[2];
|
||||
f32 collisionRadius = (a->hitboxRadius + b->hitboxRadius) * 1.25f;
|
||||
f32 collisionRadius = (a->hitboxRadius + b->hitboxRadius) * 2.25f;
|
||||
f32 distance = sqrtf(dx * dx + dz * dz);
|
||||
|
||||
if (collisionRadius > distance) {
|
||||
|
|
Loading…
Reference in New Issue