Commit 43e3a72
lawwong
Update to v1.8.0
* New features
- Daydream Support
- Simulator
- New VIU Settings to easy setup project supporting device
- Open from Editor -> Preferences -> VIU Settings

* Improvement
- Now compatible with SteamVR v1.1.1~v1.2.3
- Move some properties into VIU Settings
- Removed:
- ViveRoleBindingHelper.OverrideConfigPath
- ViveRoleBindingHelper.BindingConfig.apply_bindings_on_load
- ViveRoleBindingHelper.BindingConfig.toggle_interface_key_code
- ViveRoleBindingHelper.BindingConfig.toggle_interface_modifier
- ViveRoleBindingHelper.BindingConfig.interface_prefab
- Replaced with:
- VIUSettings.bindingConfigFilePath
- VIUSettings.autoLoadBindingConfigOnStart
- VIUSettings.bindingInterfaceSwitchKey
- VIUSettings.bindingInterfaceSwitchKeyModifier
- VIUSettings.bindingInterfaceObject
* Bug fix
- Fix compiler error caused by wrong define symbols.
* VIU Settings
- Setting changes is saved in project resource folder named VIUSettings.asset.
- VIU Settings will load default setting automatically if VIUSettings.asset resource not found.
* Daydream Support
- Requires Android platform support, Unity 5.6 or later and GoogleVR plugin.
- Requires checking the Daydream support toggle in Edit -> Preferences -> VIUSettings
- Beware of Daydream controller have less buttons.
- Remember to define and give the VR origin a headset height for Daydream device user.
* Simulator
- Simulator is a fake VRModule that spawn/remove fake devices, create fake tracking and fake input events.
- Requires checking the Simulator support toggle in Edit -> Preferences -> VIUSettings
- Simulator only enabled when no VR device detected.
- There are 2 ways to manipulate the fake devices
- Handle events by script manually
- HTC.UnityPlugin.VRModuleManagement.VRModule.Simulator.onUpdateDeviceState
- Invoked each frame when VRModule performs a device state update
- Write device state into currState argument to manipulate devices
- Read-only argument prefState preserved device state in last frame
- Use Keyboard-Mouse control (can be disabled in VIUSettings)
- Add/Remove/Select devices
- [0~9] Add and select device N if device N is not selected, otherwise, deselect it
- [` + 0~5] Add and select device 10+N if device 10+N is not selected, otherwise, deselect it
- [Shift + 0~9] Remove and deselect device N
- [Shift + ` + 0~5] Remove and deselect device 10+N
- Control selected device
- [W] Move selected device forward
- [S] Move selected device backward
- [D] Move selected device right
- [A] Move selected device left
- [E] Move selected device up
- [Q] Move selected device down
- [C] Roll+ selected device
- [Z] Roll- selected device
- [X ] Reset selected device roll
- [ArrowUp] Pitch+ selected device
- [ArrowDown] Pitch- selected device
- [ArrowRight] Yaw+ selected device
- [ArrowLeft] Yaw- selected device
- [MouseMove] Pitch/Yaw selected device
- [MouseLeft] Press Trigger on selected device
- [MouseRight] Press Trackpad on selected device
- [MouseMiddle] Press Grip on selected device
- [Hold Shift + MouseMove] Touch Trackpad on selected device
- Control HMD
- [T] Move hmd forward
- [G] Move hmd backward
- [H] Move hmd right
- [F] Move hmd left
- [Y] Move hmd up
- [R] Move hmd down
- [N] Roll+ hmd
- [V] Roll- hmd
- [B] Reset hmd roll
- [I] Pitch+ hmd
- [K] Pitch- hmd
- [L] Yaw+ hmd
- [J] Yaw- hmd
- Notice that when the simulator is enabled, it is started with 3 fake device
- [0] HMD (selected)
- [1] Right Controller
- [2] Left ControllerFile tree
154 files changed
+6347
-11952
lines changed- Assets/HTC.UnityPlugin
- ColliderEvent
- Pointer3D
- RaySegmentGenerator
- Base
- RaycastMethod
- Base
- Raycaster
- Base
- StandaloneRaycaster
- PoseTracker
- Base
- Editor
- PoseModifiers
- Utility
- Attribute
- Editor
- ContainerPool
- Container
- VRModule
- Editor
- Modules
- Editor
- ViveInputUtility
- Examples
- 4.Teleport
- 5.ColliderEvent
- 6.ControllerManagerSample
- 7.RoleBindingExample
- Scripts
- Sprites
- Resources
- Models
- Scripts
- Editor
- Misc
- Editor
- ExCamConfigInterface
- ViveColliderEvent
- ViveInput
- Editor
- VivePose
- ViveRaycaster
- ViveRole
- BindingInterface
- Editor
- RoleMaps
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
154 files changed
+6347
-11952
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
18 | 22 | | |
19 | 23 | | |
20 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
629 | 629 | | |
630 | 630 | | |
631 | 631 | | |
632 | | - | |
633 | | - | |
| 632 | + | |
634 | 633 | | |
635 | | - | |
636 | | - | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
637 | 642 | | |
638 | | - | |
639 | | - | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
640 | 646 | | |
641 | 647 | | |
642 | 648 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
0 commit comments