mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-09 19:01:14 +02:00
Hand controller lasers work better in thirdPerson camera mode.
This commit is contained in:
parent
5aed960c4c
commit
b276970258
1 changed files with 3 additions and 1 deletions
|
@ -1376,7 +1376,9 @@ function MyController(hand) {
|
||||||
visible: true,
|
visible: true,
|
||||||
alpha: 1,
|
alpha: 1,
|
||||||
parentID: AVATAR_SELF_ID,
|
parentID: AVATAR_SELF_ID,
|
||||||
parentJointIndex: this.controllerJointIndex,
|
parentJointIndex: MyAvatar.getJointIndex(this.hand === RIGHT_HAND ?
|
||||||
|
"_CAMERA_RELATIVE_CONTROLLER_RIGHTHAND" :
|
||||||
|
"_CAMERA_RELATIVE_CONTROLLER_LEFTHAND"),
|
||||||
endParentID: farParentID
|
endParentID: farParentID
|
||||||
};
|
};
|
||||||
this.overlayLine = Overlays.addOverlay("line3d", lineProperties);
|
this.overlayLine = Overlays.addOverlay("line3d", lineProperties);
|
||||||
|
|
Loading…
Reference in a new issue