Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
fix: avatar now faces movement direction in exploration mode
Adam Eivye8a0bc8b10c9
diff --git a/client/src/components/city/PlayerAvatar.jsx b/client/src/components/city/PlayerAvatar.jsxindex 6aef74c113..c2fc0d6458 100644--- a/client/src/components/city/PlayerAvatar.jsx+++ b/client/src/components/city/PlayerAvatar.jsx@@ -7,7 +7,7 @@ const NEON_COLOR = '#06b6d4';const VISOR_COLOR = '#06b6d4';const EYE_COLOR = '#ff3366';-export default function PlayerAvatar({ isMoving, facingAngle }) {+export default function PlayerAvatar({ isMovingRef, facingAngleRef }) {const groupRef = useRef();const leftArmRef = useRef();const rightArmRef = useRef();@@ -24,7 +24,7 @@ export default function PlayerAvatar({ isMoving, facingAngle }) {if (!groupRef.current) return;// Facing direction- groupRef.current.rotation.y = facingAngle;+ groupRef.current.rotation.y = facingAngleRef.current;// Idle bobconst t = performance.now() / 1000;@@ -32,7 +32,7 @@ export default function PlayerAvatar({ isMoving, facingAngle }) {groupRef.current.position.y = bob;// Walk animation- if (isMoving) {+ if (isMovingRef.current) {walkPhaseRef.current += delta * 12;} else {// Damp walk phase toward zerodiff --git a/client/src/components/city/PlayerController.jsx b/client/src/components/city/PlayerController.jsxindex fd1de5a694..09085ec501 100644--- a/client/src/components/city/PlayerController.jsx+++ b/client/src/components/city/PlayerController.jsx@@ -212,8 +212,8 @@ export default function PlayerController({return (<group ref={avatarGroupRef}><PlayerAvatar- isMoving={isMovingRef.current}- facingAngle={facingAngleRef.current}+ isMovingRef={isMovingRef}+ facingAngleRef={facingAngleRef}/></group>);