Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Continuous Turn Provider not working Unity 2021.2.1 #114

Closed
MathiasWorm opened this issue Jul 13, 2023 · 1 comment
Closed

Continuous Turn Provider not working Unity 2021.2.1 #114

MathiasWorm opened this issue Jul 13, 2023 · 1 comment

Comments

@MathiasWorm
Copy link

Hey all,

it seems like the Continuous Turn Provider is not properly working. When I start my game the "XRI RightHand Locomotion/ Turn" action, which the provider uses by default, not appears in the Input Debugger. The bug causes the provider to not work at all.

My workaround: Use the "XRI RightHand Locomotion/ Snap Turn"-action in the Continuous Turn Provider. I have also tried to use a custom action ("XRI RightHand Locomotion/ Continuous Turn"), but its still not working.

Actions:
1.) New Action Continuous Turn added to XRI RightHand Locomotion action map and tested with the provider (still no changes)
2.) "Default Continuous Turn.preset"modified accordingly. (Still no changes)
3.) Use the "XRI RightHand Locomotion/ Snap Turn"-action in Continuous Turn Provider (is works)

@kevincastejon
Copy link

kevincastejon commented Aug 5, 2024

hi @MathiasWorm , I was struggling the same with the Continous Turn Provider of the "package manager Samples", but I think I eventually figured out it works.
The actions are enabled and disabled by the ControllerInputActionManager component that you can find on the hierarchy at "XROriginRig > Camera Offset > LeftController/RightController", here you can setup smooth/snap motion/turn for each left and right controller.
So if you want continous turn on the right hand, just check the Smooth Turn Enabled on the right ControllerInputActionManager.

Note that checking these boxes on the inspector at runtime will not work, but you can do it programmatically of course.

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

No branches or pull requests

2 participants