Const<Player3DWithTransitions
playerId="player1"
archetype={PlayerArchetype.MUSA}
stance={currentStance}
position={[0, 0, 0]}
rotation={0}
health={85}
maxHealth={100}
stamina={60}
ki={40}
pain={20}
balance="READY"
consciousness={100}
bloodLoss={0}
currentAnimation="idle"
isMobile={false}
enableTransitionEffects={true}
enableStanceSymbol={true}
onStanceTransitionComplete={(stance) => console.log('Transitioned to:', stance)}
/>
Player3DWithTransitions Component
Enhanced player component with automatic stance change detection and visual effects. Wraps SkeletalPlayer3D and adds:
Performance optimized: