Const// For training dummy (no archetype):
const effectiveDistance = centerToCenter - DEFAULT_BODY_RADIUS_METERS;
// For player (use archetype):
import { calculateBodyRadius } from '@/utils/skeletonScaling';
const radius = calculateBodyRadius(physicalAttributes);
const effectiveDistance = centerToCenter - radius;
Default body radius for hit distance calculation (training dummy).
Korean: 기본몸체반경 (Default Body Radius)
When calculating hit distance, we measure center-to-center, but attacks land on the target's body surface, not their center point. This constant represents the default body radius for entities without physical attributes (like training dummies).
For player archetypes, use
calculateBodyRadius(physicalAttributes)fromutils/skeletonScaling.tswhich calculates based on shoulder width.Based on average human proportions: