Skip to content

rendermodels: support standard pose components in GetComponentState - #404

Open
exstrim401 wants to merge 1 commit into
Supreeeme:mainfrom
exstrim401:fix-standard-pose-components
Open

rendermodels: support standard pose components in GetComponentState#404
exstrim401 wants to merge 1 commit into
Supreeeme:mainfrom
exstrim401:fix-standard-pose-components

Conversation

@exstrim401

Copy link
Copy Markdown

SteamVR registers standard pose components (/pose/raw, /pose/tip) for every controller, for all render models. Games can look these up by their well-known names. They do not have to enumerate the components. xrizer accepted only its synthetic "xrizer_component". Thus a lookup for "tip" always returned false.

The BigWalkVR mod marks a controller pose as invalid if GetComponentState(model, "tip") fails. Under xrizer, the hands never moved, but the buttons continued to work.

Accept the standard pose component names (tip, base, handgrip, grip) for known render models. Return identity transforms, because our models contain their offsets.

Fixes #403

Claude Fable 5 assisted

SteamVR registers standard pose components (/pose/raw, /pose/tip) for
every controller, for all render models. Games can look these up by
their well-known names. They do not have to enumerate the components.
xrizer accepted only its synthetic "xrizer_component". Thus a lookup
for "tip" always returned false.

The BigWalkVR mod marks a controller pose as invalid if
GetComponentState(model, "tip") fails. Under xrizer, the hands never
moved, but the buttons continued to work.

Accept the standard pose component names (tip, base, handgrip, grip)
for known render models. Return identity transforms, because our
models contain their offsets.
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.

[Bug]: Big Walk VR Mod - Controllers not tracking under WiVRn.

1 participant