mirror of
https://github.com/overte-org/overte.git
synced 2025-04-09 05:53:25 +02:00
Merge pull request #7389 from Menithal/on-grab-fix
Grab.js: Update Position on Mouse Grab Start
This commit is contained in:
commit
c8816f8e76
1 changed files with 4 additions and 0 deletions
|
@ -373,6 +373,10 @@ Grabber.prototype.pressEvent = function(event) {
|
|||
|
||||
beacon.updatePosition(this.startPosition);
|
||||
|
||||
if(!entityIsGrabbedByOther(this.entityID)){
|
||||
this.moveEvent(event);
|
||||
}
|
||||
|
||||
// TODO: play sounds again when we aren't leaking AudioInjector threads
|
||||
//Audio.playSound(grabSound, { position: entityProperties.position, volume: VOLUME });
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue