mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 23:57:13 +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() {
|
this.searchEnter = function() {
|
||||||
mostRecentSearchingHand = this.hand;
|
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) {
|
this.search = function(deltaTime, timestamp) {
|
||||||
|
|
Loading…
Reference in a new issue