Muscle activation manager for real-time combat physiology
Manages 60fps muscle tension updates, stamina effects, and smooth transitions. Optimized for performance with ref-based updates to avoid React re-renders.
근육활성화관리자
Create a new muscle activation manager
Optional configuration (uses defaults if not provided)
생성자
Dispose of the muscle activation system
Clears all internal state and references to prevent memory leaks. Should be called when the system is no longer needed (e.g., component unmount).
근육시스템해제
Get all current muscle activations
Map of muscle groups to current states
모든활성화가져오기
Get reusable scratch map with current tension values for state sync
Populates and returns a reusable Map to avoid allocations during state sync. This map is cleared and repopulated on each call.
Reusable Map with current tension values
상태동기화맵가져오기
Get current tension for a specific muscle group
Muscle group name
Current tension (0-1) or 0 if not found
긴장도가져오기
Get shaking state for a specific muscle group
Whether muscle is shaking
흔들림상태가져오기
Gradually relax all muscles to idle state
Used after technique completion with configurable delay.
Time since last frame in seconds
근육이완
Reset all muscles to relaxed state immediately
즉시이완
Update muscle activations for a technique at 60fps
Technique name
Current stamina (0-100)
업데이트
Private
Muscle activation manager for real-time combat physiology
Manages 60fps muscle tension updates, stamina effects, and smooth transitions. Optimized for performance with ref-based updates to avoid React re-renders.
Korean
근육활성화관리자