fix: adjust Room Focus camera to use smaller offsets for scaled coords
This commit is contained in:
parent
370d60e7f2
commit
7c44d5c367
1 changed files with 3 additions and 2 deletions
|
|
@ -44,9 +44,10 @@ const getPresetConfig = (
|
|||
// Focus on a specific room/area - more top-down view centered on target
|
||||
const fx = focusTarget?.x ?? centerX;
|
||||
const fz = focusTarget?.z ?? centerZ;
|
||||
// Position camera mostly above with slight offset for depth perception
|
||||
// Position camera above room with small offset for 3D depth
|
||||
// Rooms are at SCALED coords (0.1 scale), so use small offsets
|
||||
return {
|
||||
position: [fx + 8, 20, fz + 8] as [number, number, number],
|
||||
position: [fx + 2, 8, fz + 2] as [number, number, number],
|
||||
target: [fx, 0, fz] as [number, number, number],
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue