Unity-Technologies / XR-Interaction-Toolkit-Examples

This repository contains various examples to use with the XR Interaction Toolkit
Other
1.09k stars 352 forks source link

VR Feature Request: Thumbstick Locomotion #18

Open Corysia opened 4 years ago

Corysia commented 4 years ago

I would really like to see this Locomotion feature made available, too.

ROBYER1 commented 4 years ago

This would be great, however there are constraints as to what kind of player rig you want- will it use gravity, the Unity CharacterController component, or will it use a rigidbody and use rigidbody forces to move around. All worth thinking about!

frederickjjoubert commented 4 years ago

I think there are too many ways to implement thumbstick locomotion on a per project basis (depending on what kind of player controls and physics interactions you want) for unity to provide a one that you're better off just getting the vector2 from your thumbstick / trackpad and implementing it yourself the way you want. Suggest you look at how to get the vector2 input and look up basic player controllers for fps games as a start if you're not familiar with it.

ROBYER1 commented 4 years ago

Hi Jacques

Yeah definitely wasn't too hard to figure out how to implement it myself. I can see why it's not in the XRI package after trying different solutions until one worked best (vector2d to control a charactercontroller component).

Rob

Rob Farthing

3d Artist & Animator Unity Certified 3d Artist

Portfolio : https://www.behance.net/robfarthing

LinkedIn: https://www.linkedin.com/in/robfarthing/

On Wed, 10 Jun 2020, 12:24 am Jacques, notifications@github.com wrote:

I think there are too many ways to implement thumbstick locomotion on a per project basis (depending on what kind of player controls and physics interactions you want) for unity to provide a one that you're better off just getting the vector2 from your thumbstick / trackpad and implementing it yourself the way you want. Suggest you look at how to get the vector2 input and look up basic player controllers for fps games as a start.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Unity-Technologies/XR-Interaction-Toolkit-Examples/issues/18#issuecomment-641631614, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACR7N6WEAWZ3KJEM2LSFSBLRV3ADZANCNFSM4KM5K2EA .