viewer: slow first-person walk/run/jump speeds#451
Merged
Conversation
Walk 4→2 m/s, run 5.5→5 m/s, jump 6→5 (~1.27 m peak). Applied to both the GLB walkthrough controller (viewer) and the editor first-person controls so the two surfaces stay consistent. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Slows down first-person navigation, which felt too fast. Applied identically to both the GLB walkthrough controller (
packages/viewer) and the editor's first-person controls (packages/editor) so the two surfaces stay consistent.jumpVel): 6 → 5 (~1.83 m → ~1.27 m peak)How to test
bun devand open a scene.Screenshots / screen recording
N/A — tuning of movement constants only, no visual/UI change.
Checklist
bun devbun checkto verify)mainbranchNote
Low Risk
Only numeric movement props on two first-person call sites; no auth, data, or shared physics logic changes.
Overview
First-person movement felt too fast, so
BVHEcctrltuning is reduced in both the editor street-view controller and the baked GLB walkthrough so behavior stays aligned.Walk (
maxWalkSpeed) goes from 4 → 2 m/s, sprint (maxRunSpeed) from 5.5 → 5 m/s, and jump (jumpVel) from 6 → 5, which lowers peak jump height and makes low ledges easier to clear without overshooting.Reviewed by Cursor Bugbot for commit 36132bb. Bugbot is set up for automated code reviews on this repo. Configure here.