mirror of
https://github.com/overte-org/overte.git
synced 2025-04-19 15:03:53 +02:00
Merge pull request #11456 from druiz17/bugs-handControllerGrab
Correctly grab tablet in 3rd person
This commit is contained in:
commit
91f5f61ea3
1 changed files with 2 additions and 7 deletions
|
@ -88,13 +88,8 @@ Script.include("/~/system/libraries/utils.js");
|
|||
this.startNearParentingGrabOverlay = function (controllerData) {
|
||||
Controller.triggerHapticPulse(HAPTIC_PULSE_STRENGTH, HAPTIC_PULSE_DURATION, this.hand);
|
||||
|
||||
var handJointIndex;
|
||||
// if (this.ignoreIK) {
|
||||
// handJointIndex = this.controllerJointIndex;
|
||||
// } else {
|
||||
// handJointIndex = MyAvatar.getJointIndex(this.hand === RIGHT_HAND ? "RightHand" : "LeftHand");
|
||||
// }
|
||||
handJointIndex = this.controllerJointIndex;
|
||||
this.controllerJointIndex = getControllerJointIndex(this.hand);
|
||||
var handJointIndex = this.controllerJointIndex;
|
||||
|
||||
var grabbedProperties = this.getGrabbedProperties();
|
||||
|
||||
|
|
Loading…
Reference in a new issue