mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-09 01:22:21 +02:00
Merge pull request #11514 from druiz17/rc-grab-attachment
Allow the ability to grab attachments
This commit is contained in:
commit
1a49b11821
1 changed files with 1 additions and 1 deletions
|
@ -223,7 +223,7 @@ Script.include("/~/system/libraries/cloneEntityUtils.js");
|
|||
(distance > NEAR_GRAB_RADIUS * sensorScaleFactor)) {
|
||||
continue;
|
||||
}
|
||||
if (entityIsGrabbable(props)) {
|
||||
if (entityIsGrabbable(props) || entityIsCloneable(props)) {
|
||||
// give haptic feedback
|
||||
if (props.id !== this.hapticTargetID) {
|
||||
Controller.triggerHapticPulse(HAPTIC_PULSE_STRENGTH, HAPTIC_PULSE_DURATION, this.hand);
|
||||
|
|
Loading…
Reference in a new issue