mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 19:04:32 +02:00
Merge branch 'master' of github.com:highfidelity/hifi into arrow-actions
This commit is contained in:
commit
617880479a
1 changed files with 5 additions and 0 deletions
|
@ -1388,6 +1388,11 @@ function MyController(hand) {
|
|||
|
||||
this.searchEnter = function() {
|
||||
mostRecentSearchingHand = this.hand;
|
||||
var rayPickInfo = this.calcRayPickInfo(this.hand);
|
||||
if (rayPickInfo.entityID || rayPickInfo.overlayID) {
|
||||
this.intersectionDistance = rayPickInfo.distance;
|
||||
this.searchSphereDistance = this.intersectionDistance;
|
||||
}
|
||||
};
|
||||
|
||||
this.search = function(deltaTime, timestamp) {
|
||||
|
|
Loading…
Reference in a new issue