mattrdowney / planetaria

A Unity framework for Euclidean 2-sphere games (e.g. 2D virtual reality games) [quasi-MIT license]
Other
10 stars 2 forks source link

Bluetooth controller (virtual reality) #83

Closed mattrdowney closed 6 years ago

mattrdowney commented 6 years ago

Order a controller and map inputs

mattrdowney commented 6 years ago

Needs to capture orientation (relative forward) for aiming as well as trigger presses and view-relative movement on touchpad.

mattrdowney commented 6 years ago

Done and tested as of 2b89f6ab8816853ae39f3bbe1e9c0060d8aeafde

mattrdowney commented 6 years ago

Technically, this commit is right-handed only (this is because you can't do InputTracking.GetLocalRotation(XRNode.GameController))