Skip to content

Add street view / walkthrough mode#173

Open
Yashism wants to merge 1 commit intopascalorg:mainfrom
Yashism:feat/street-view
Open

Add street view / walkthrough mode#173
Yashism wants to merge 1 commit intopascalorg:mainfrom
Yashism:feat/street-view

Conversation

@Yashism
Copy link

@Yashism Yashism commented Mar 25, 2026

Hey! This adds a street view mode to the editor — basically an FPS-style walkthrough so you can explore your home designs from the inside.

What it does

  • WASD to walk around, mouse to look (pointer lock)
  • Q/E to float up and down
  • Shift to sprint
  • Camera starts at the center of the grid at eye height (1.65m)
  • Can't go below ground level
  • No collision — you can walk through walls freely
  • ESC or the exit button to go back to the editor

Where to find it

There's a new walk icon button in the camera actions bar at the bottom. Also added one in the preview mode overlay.

What changes

  • New FirstPersonControls component that handles movement + mouse look
  • useEditor gets an isFirstPersonMode flag
  • Orbit controls are disabled while in street view
  • Editor UI (tools, panels, sidebar, grid) is hidden during walkthrough
  • Walls are forced to full height when entering street view

Adds a first-person walkthrough mode so you can explore your home
from the inside at eye level. WASD to move, mouse to look around,
Q/E to float up/down. Press ESC to exit.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants