Skip to content

Fix floor clip bug#1799

Open
Stermere wants to merge 1 commit intomainfrom
FloorClipSteamLinkInteractionFix
Open

Fix floor clip bug#1799
Stermere wants to merge 1 commit intomainfrom
FloorClipSteamLinkInteractionFix

Conversation

@Stermere
Copy link
Copy Markdown
Contributor

@Stermere Stermere commented Mar 29, 2026

This PR fixes a bug that would cause floor-clip to not re-engage when the user returned to an upright pose from any pose where the hip was close enough to the floor to trigger the isStanding function to return false.

The logic that was removed here served to prevent any jumps in position as floor-clip was turning back on; however, in the current version of floor-clip, the currentDisengagementOffset variable also serves to prevent jumps in position, making the former logic redundant besides the below scenario

One potential downside of this is that there will always be a hard floor when using floor-clip, which means going down stairs or other vertical activities requiring the user to descend below their initial calibration position will behave unexpectedly. I feel this is an acceptable trade-off given a typical VR user's play space. This downside can be fixed with some changes to how currentDisengagementOffset is calculated.

@github-actions github-actions bot added Area: Skeletal Model Deals with the model of the skeleton and its pose Area: Server Related to the server labels Mar 29, 2026
@Stermere Stermere added the Type: Bug Something isn't working label Mar 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: Server Related to the server Area: Skeletal Model Deals with the model of the skeleton and its pose Type: Bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant