ReadonlyarchetypePlayer archetype determining visual style and theming
Optional ReadonlyattackSpecific attack animation name (for attack state)
ReadonlybalanceBalance/stability state in combat
Optional ReadonlybloodBlood loss amount (0-100) Optional since not all game modes track blood loss
Optional ReadonlybodyBody facing state for automatic opponent tracking (optional)
ReadonlyconsciousnessConsciousness level (0-100)
ReadonlycurrentCurrent animation state
Optional ReadonlyenableWhether to enable eye tracking (opt-in, default: false)
Optional ReadonlyenableWhether to enable facial expressions (opt-in, default: false)
Optional ReadonlyenableEnable stance change audio (default: true)
Optional ReadonlyenableEnable floating stance symbol (default: true)
Optional ReadonlyenableEnable stance transition effects (default: true)
Optional ReadonlyfacialFacial damage state (optional, defaults to no damage)
Optional ReadonlyfacialCurrent facial expression (optional, auto-calculated if not provided)
Optional ReadonlyfacingDirection the player is facing
ReadonlyhealthCurrent health points (0-maxHealth)
ReadonlyisWhether player is currently blocking
Optional ReadonlyisWhether player is countering
ReadonlyisWhether rendering for mobile device (affects scaling and detail)
Optional ReadonlyisWhether player is stunned
ReadonlykiCurrent Ki/energy points (0-100)
Optional ReadonlylateralityStance laterality (left or right foot forward)
This affects animation mirroring - techniques will be mirrored appropriately based on the laterality, creating 16 distinct stance configurations (8 trigrams × 2 laterality).
Korean: 측면성 (Cheugmyeonseong - Laterality/Sidedness)
ReadonlymaxMaximum health points
Optional ReadonlynamePlayer display name (Korean and English)
Optional ReadonlyonCallback when animation completes
Optional ReadonlyonCallback to update body facing state
Optional ReadonlyonCallback when stance transition completes
Optional ReadonlyonCallback when stance transition starts
Optional ReadonlyopponentOpponent position for eye tracking (optional)
ReadonlypainPain level affecting balance and performance (0-100)
ReadonlyplayerUnique identifier for the player
Readonlyposition3D world position [x, y, z]
ReadonlyrotationRotation in radians (Y-axis)
Optional ReadonlyscaleScale multiplier for the model (default: 1)
Optional ReadonlyshowWhether to show Html overlay with stats
Optional ReadonlyshowWhether to show health bar
Optional ReadonlyshowWhether to show stance indicator
ReadonlystaminaCurrent stamina points (0-100)
ReadonlystanceCurrent trigram stance (1 of 8)
Optional ReadonlytransitionTransition duration in seconds (default: 0.5)
Props for Player3DWithTransitions component