From 487a894fe5dabc86ac09e593847644271798a0b9 Mon Sep 17 00:00:00 2001 From: "azykov@mail.ru" Date: Tue, 2 Jun 2026 23:27:23 +0300 Subject: [PATCH] better player indicator better initial editor camera location --- src/components/CharacterView.tsx | 14 ++++++++++---- src/state/worldState.ts | 6 +++--- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/src/components/CharacterView.tsx b/src/components/CharacterView.tsx index db0cb31..260cf6c 100644 --- a/src/components/CharacterView.tsx +++ b/src/components/CharacterView.tsx @@ -5,12 +5,18 @@ export const CharacterView = observer(function ({ character }: { character: Char const pos = character.transform.position; - return - - - + {/* + + + */} + + + + + }); diff --git a/src/state/worldState.ts b/src/state/worldState.ts index 143b50c..aa7cc61 100644 --- a/src/state/worldState.ts +++ b/src/state/worldState.ts @@ -66,13 +66,13 @@ export class WorldState { }, voxelTypes: DEFAULT_VOXEL_TYPES, editorCamera: { - position: [0, 2, 10], - look: [0, 0, 0], + position: [-9, 11, 30], + look: [-0.52, -0.35, -0.2], }, initialScene: { character: { transform: { - position: [0, 0, 20], + position: [0, 5, 20], look: [0, 0, 0], } },