Creates a new CoordinateMapper with optional custom configuration.
Optional character model configuration
Calculates the distance between a 3D point and a vital point's 3D position.
Korean: 거리 계산
Point in 3D world space
Vital point to measure distance to
Distance in meters
Finds the closest vital point to a 3D position within a given region.
Korean: 가장 가까운 급소 찾기
Point in 3D world space
Array of vital points to search
Optionalregion: AnatomicalRegionPhysicsOptional region filter
Closest vital point and distance, or null if none found
PrivateinferPrivateInfers the anatomical region from a vital point ID.
Korean: 급소 ID에서 영역 추론
Vital point ID (e.g., "head_temple", "torso_solar_plexus")
Anatomical region
Converts a 2D pixel position to a 3D world position.
Korean: 2D → 3D 변환
Maps UI overlay pixel coordinates to 3D world space coordinates suitable for physics collision detection.
2D pixel position (origin top-left)
Anatomical region for Z-depth calculation
3D world position in meters (origin at character center)
Converts a vital point's 2D position to 3D world position.
Korean: 급소 위치 변환
Convenience method that extracts position and region from a VitalPoint object.
Vital point with 2D position
3D world position
Converts a 3D world position to a 2D pixel position.
Korean: 3D → 2D 변환
Maps 3D world space coordinates back to UI overlay pixel coordinates. Useful for debugging and visual feedback.
3D world position in meters
2D pixel position (origin top-left)
Coordinate Mapper for converting 2D pixel coordinates to 3D world coordinates.
Korean: 좌표 변환기
Provides bidirectional mapping between the 2D UI overlay coordinate system and the 3D physics world coordinate system.
Korean
좌표변환기