secondlife / secondlife/viewer

Game Control: activating 'Sit' action when not near ground is disorienting

Open
#6,341 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug triage
Dominant language
C++
Stars
299
Forks
146
Avg merge
1d 9h
Merged PRs (30d)
88

Description

Environment

Second Life Project Game-control 26.4.0.34938711376 (64bit)
Release Notes

You are at 172.0, 210.6, 1527.0 in Blake Sea - Japan located at simhost-08c9a0b5dbf45b71d.aditi
SLURL: secondlife://Aditi/secondlife/Blake%20Sea%20-%20Japan/172/211/1527
(global coordinates 292268.0, 269267.0, 1527.0)
Riders Test Channel 2026-09-16.35125851769
Release Notes

CPU: Apple M1 Pro (2400 MHz)
Memory: 16384 MB
OS Version: macOS 26.6.2 Darwin 25.6.0 Darwin Kernel Version 25.6.0: Fri Jul 31 19:18:49 PDT 2026; root:xnu-12377.161.14~5/RELEASE_ARM64_T6000 arm64
Graphics Card Vendor: Apple
Graphics Card: Apple M1 Pro

OpenGL Version: 4.1 Metal - 90.5

Window size: 1109x683
Font Size Adjustment: 96pt
UI Scaling: 0.75
Draw distance: 208m
Bandwidth: 10000kbit/s
LOD factor: 1.375
Render quality: 3
Texture memory: 12124MB
Disk cache: Max size 2150.4 MB (100.0% used)
HiDPI display mode: false

J2C Decoder Version: KDU v8.4.1
Audio Driver Version: OpenAL, version 1.1 ALSOFT 1.24.2 / OpenAL Community / OpenAL Soft: OpenAL Soft
Dullahan: 1.26.0.202510161627
CEF: 139.0.40+g465474a+chromium-139.0.7258.139
Chromium: 139.0.7258.139
LibVLC Version: 3.0.21
Voice Server Version: Secondlife WebRTC Gateway 1.3.2-90f4ecf/p2p

Packets Lost: 3/18108 (0.0%)
September 17 2026 15:21:07

Description

If the user activates the 'Sit' action on their gamepad (default button: West/X) on a game controller, the agent warps to sit on the ground, but the camera does not move with the agent. The net effect is that the agent disappears, which is disorienting.

Reproduction steps
  1. Login with the game control viewer, and connect a gamepad.
  2. Hover the avatar dozens of meters above the ground
  3. Press the West/X button to activate the 'Sit' action

Actual results:

  • The avatar immediately sits in (3), but the camera remains at the original location. The avatar is 'lost' unless the user manually moves the camera to avatar's position on the ground: https://youtu.be/54HxXEbkKmg
  • If the user enters mouse look mode after sitting, the mouse look camera position is also still in the sky - nowhere near the avatar
  • If the user presses West/X a 2nd time to stand up, the avatar warps back to the camera position

Expected results:
The classic non-game control behavior involves right clicking at a certain point on terrain or an object and right-clicking 'Sit' from the context menu. If the avatar isn't within a few meters of the sit target, the avatar will activate autopilot mode and attempt to get near the object before sitting. This classic behavior is not great either, since autopilot mode will fail if the avatar hits an obstacle.

For game control sitting, we could either:

  1. Do the same thing as non-game control sitting - have the avatar engage autopilot to move near the sit location before sitting. The camera would be following the agent the whole way.
  2. Allow the avatar to sit from high elevation, but warp the camera to follow the agent.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the gamepad West/X 'Sit' action and the camera behavior when the avatar is far above the ground. Reproduce the sit, mouse-look, and stand-up cases described in the issue. Before implementation, confirm whether the intended result is autopilot to the sit location or moving the camera to follow a direct sit; done means the avatar and camera remain usable in each case.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop, game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.