mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 08:49:05 +02:00
Merge pull request #6 from imgntn/ericrius1-grabAPI
re add allTouchedIDs object
This commit is contained in:
commit
6ea07f1e41
1 changed files with 1 additions and 0 deletions
|
@ -383,6 +383,7 @@ function MyController(hand, triggerAction) {
|
||||||
Entities.callEntityMethod(this.grabbedEntity, "continueNearGrabbingNonColliding");
|
Entities.callEntityMethod(this.grabbedEntity, "continueNearGrabbingNonColliding");
|
||||||
};
|
};
|
||||||
|
|
||||||
|
_this.allTouchedIDs={};
|
||||||
this.touchTest = function() {
|
this.touchTest = function() {
|
||||||
var maxDistance = 0.05;
|
var maxDistance = 0.05;
|
||||||
var leftHandPosition = MyAvatar.getLeftPalmPosition();
|
var leftHandPosition = MyAvatar.getLeftPalmPosition();
|
||||||
|
|
Loading…
Reference in a new issue