mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2026-02-04 04:36:16 +00:00
Made player-to-player attacks easier to land
This commit is contained in:
parent
cae6ef02fc
commit
71fb968c56
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue