Skip to content

Add rotation and position parameters to hand-controls.#5766

Open
filandra wants to merge 1 commit intoaframevr:masterfrom
filandra:add-rotation-position-hand-controls
Open

Add rotation and position parameters to hand-controls.#5766
filandra wants to merge 1 commit intoaframevr:masterfrom
filandra:add-rotation-position-hand-controls

Conversation

@filandra
Copy link

@filandra filandra commented Dec 7, 2025

Description:
Added the ability to set the rotation and position of hand-controls.
Default rotation and position is aligned with Meta Quest Controllers.

The adjustment for Pico4 has been removed.
It set the handModelOrientationX to -45 degrees, which now is the default value. As a result this adjustment is not needed anymore.

The adjustment for Pico4 has been removed.
It set the handModelOrientationX to -45 degrees, which now is the default value.
As a result this adjustment is not neede anymore.
@filandra filandra force-pushed the add-rotation-position-hand-controls branch from f0df2a7 to b64fbe2 Compare December 7, 2025 22:57
@filandra
Copy link
Author

filandra commented Dec 7, 2025

This change is addressing issues: #5570, #5305, #5321

@dmarcos
Copy link
Member

dmarcos commented Dec 7, 2025

Thanks. If any rotation is needed the rotation should be handled internally or hand-controls is not working properly.

@filandra
Copy link
Author

@dmarcos sorry for the delay - the holidays were very busy hahah. What do you mean by internally? Should it be handled in some other module? I figured that I would place the rotation handling into the same place where it was being already modified previously.

@vincentfretin
Copy link
Contributor

@filandra This means removing offSetRotation offSetPosition properties you added, put back the offset directly in radians inline in the code, so Math.PI / 4 for everything.

@filandra
Copy link
Author

@vincentfretin Well the whole point of the PR is to add the ability to set custom rotation and position. If not here, where should this logic be added?

@vincentfretin
Copy link
Contributor

The rotation is wrong on all Quest headsets right? After you fix the rotation inline in the component, why would you need to customize it?

@dmarcos
Copy link
Member

dmarcos commented Jan 28, 2026

Yeah we should just fix the rotation. No need of a public API

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.

4 participants