| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
Thanks. What’s the use case? |
Sorry, something went wrong.
|
I was working on a physics hands demo where I was using just tracked-controls to get controller position and wanted some cubes to stand in for hands, but they'd automatically be centered at the target ray point instead of just being in the center of my hands. It would also be useful if you're simulating something like the player holding a sword or other tool, which would make less sense being based around the target ray point. I just think this is easier than having to manually get references to the refSpace and frame, calling getPose on that, and then setting it or having to apply some manual offset to the controller position. |
Sorry, something went wrong.
|
Thanks for the PR and patience! Great stuff |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Description:
tracked-controls-webxr currently uses targetRaySpace to report controller pose with no option to change it. This PR adds the ability to specify gripSpace over targetRaySpace, while still keeping targetRaySpace as the default.
Changes proposed: