Forum Discussion
vastness
5 years agoProtege
Unity Quest controller multiplier/scalier for Disabilities
Hi,
I'm looking to be able to multiply the amount of movement and rotation of the controllers for a Disability/Rehab project.
I have users that have limited movement and the movement they have needs to be amplified.
eg. a small movement or rotation of the controller will be a larger movement in the VR world.
I'm looking to be able to multiply the amount of movement and rotation of the controllers for a Disability/Rehab project.
I have users that have limited movement and the movement they have needs to be amplified.
eg. a small movement or rotation of the controller will be a larger movement in the VR world.
3 Replies
Replies have been turned off for this discussion
- BortoniteHonored Guest
I also neeed this. Seems like it would be easy to add into the oculus settings - similarly to mouse sensitivity on a computer.
- vastnessProtege
Hi,
I did work it out.
Ok so create a GameObject, add a child GameObject inside of it.
Create a script on the child GameObject that has variables for its Transform position and rotation eg. 6 variables.
But the trick is that you need a reference point to multiply from. eg. hand resting position.
Multiply the childs variable by the multiplier value you need but from the reference position.
Then connect the parent GameObject to the Tracking position in Oculus plugin and the Hand connects to the child GameObject.
So if you have a 3x multiplier, when the hand is at the reference position, it will track with your hand.
But as you move the hand away from the reference position, it will be multiplied by the multiplier.
This includes the rotation.
I hope that makes sense.
- CKY2015Explorer
Thanks for sharing!
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 5 months ago
- 9 months ago