Skip to content

Commit e8fbfa8

Browse files
authored
Merge pull request #251 from De-Panther/hittest_r_controller_click
Fixed SceneHitTest right controller issue
2 parents 5bb3cbd + f9b3146 commit e8fbfa8

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Packages/webxr-interactions/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88

9+
### Fixed
10+
- SceneHitTest right controller issue.
11+
912
## [0.16.2] - 2023-02-04
1013
### Fixed
1114
- Webcam errors in different versions of Unity.

Packages/webxr-interactions/Runtime/Scripts/SceneHitTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ void Start()
3131
}
3232
else if (controllers[i].hand == WebXRControllerHand.RIGHT)
3333
{
34-
rightController = leftController ?? controllers[i];
34+
rightController = rightController ?? controllers[i];
3535
}
3636
if (leftController != null && rightController != null)
3737
{

0 commit comments

Comments
 (0)