mirror of
https://github.com/overte-org/overte.git
synced 2025-04-16 18:53:37 +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,
|
||||
alpha: 1,
|
||||
parentID: AVATAR_SELF_ID,
|
||||
parentJointIndex: this.controllerJointIndex,
|
||||
parentJointIndex: MyAvatar.getJointIndex(this.hand === RIGHT_HAND ?
|
||||
"_CAMERA_RELATIVE_CONTROLLER_RIGHTHAND" :
|
||||
"_CAMERA_RELATIVE_CONTROLLER_LEFTHAND"),
|
||||
endParentID: farParentID
|
||||
};
|
||||
this.overlayLine = Overlays.addOverlay("line3d", lineProperties);
|
||||
|
|
Loading…
Reference in a new issue