From 65c0616ce12af52ab9686f982b556a3d2aa39156 Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Sat, 23 Aug 2025 19:45:45 +0000 Subject: [PATCH] fix(visionOS): position initial blocks at eye level (1.6m) instead of below eye level - Changed baseY from -0.1 to 1.6 in createBlockEntity function - Aligns with existing eye level reference used in ray casting (line 876) - Blocks now appear at natural eye level when app launches - Maintains relative spacing between blocks (0.03 increment per block) Co-Authored-By: Jeffrey --- visionOS/MempoolVisionOS/Views/BlockchainImmersiveView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/visionOS/MempoolVisionOS/Views/BlockchainImmersiveView.swift b/visionOS/MempoolVisionOS/Views/BlockchainImmersiveView.swift index e7b7c8d26b..d01b20ba19 100644 --- a/visionOS/MempoolVisionOS/Views/BlockchainImmersiveView.swift +++ b/visionOS/MempoolVisionOS/Views/BlockchainImmersiveView.swift @@ -273,7 +273,7 @@ struct BlockchainImmersiveView: View { print("🎲 Setting position...") // Position blocks with proper spacing - first block directly in front of user let baseX = Float(index) * 0.35 // Much more spacing horizontally - let baseY = -0.1 + Float(index) * 0.03 // Start slightly below eye level, rise gradually + let baseY = 1.6 + Float(index) * 0.03 // Start at eye level (1.6m), rise gradually let baseZ = -0.6 - Float(index) * 0.08 // Start closer to user, then recede blockEntity.position = SIMD3(baseX, baseY, baseZ)