Merge pull request #451 from pascalorg/feat/slower-viewer-walk-speed

viewer: slow first-person walk/run/jump speeds
This commit is contained in:
Wassim SAMAD
2026-06-29 12:33:01 -04:00
committed by GitHub
2 changed files with 6 additions and 6 deletions
@@ -1388,11 +1388,11 @@ export const FirstPersonControls = () => {
floatSensorRadius={0.15}
floatSpringK={1200}
gravity={9.81}
jumpVel={6}
jumpVel={5}
key="first-person-controller"
maxRunSpeed={5.5}
maxRunSpeed={5}
maxSlope={1.2}
maxWalkSpeed={4}
maxWalkSpeed={2}
paused={isElevatorRideLocked}
position={controllerStart.position}
ref={setControllerApi}
@@ -410,10 +410,10 @@ export function GlbWalkthroughController({ url }: { url: string }) {
floatSensorRadius={0.15}
floatSpringK={1200}
gravity={9.81}
jumpVel={6}
maxRunSpeed={5.5}
jumpVel={5}
maxRunSpeed={5}
maxSlope={1.2}
maxWalkSpeed={4}
maxWalkSpeed={2}
position={start.position}
ref={setControllerApi}
/>