@@ -24,7 +24,8 @@ var Pointer = function(hudLayer, pickType, pointerData) {
2424 const SEARCH_LINE_POINTS = 32 ;
2525 const SEARCH_LINE_THICKNESS = 0.003 ;
2626 const CLICK_LINE_THICKNESS = 0.01 ;
27- const CURSOR_IMAGE_URL = `${ Script . resourcesPath ( ) } images/laser_cursor_default.png` ;
27+ const CURSOR_DEFAULT_URL = `${ Script . resourcesPath ( ) } images/laser_cursor_default.png` ;
28+ const CURSOR_GRABBING_URL = `${ Script . resourcesPath ( ) } images/laser_cursor_grabbing.png` ;
2829 const BEAM_IMAGE_URL = `${ Script . resourcesPath ( ) } images/laser_beam_default.png` ;
2930
3031 const CURSOR_SIZE = { x : SEARCH_SPHERE_SIZE , y : SEARCH_SPHERE_SIZE , z : SEARCH_SPHERE_SIZE } ;
@@ -54,7 +55,7 @@ var Pointer = function(hudLayer, pickType, pointerData) {
5455 } ;
5556 this . halfEnd = {
5657 type : "Image" ,
57- imageURL : CURSOR_IMAGE_URL ,
58+ imageURL : CURSOR_DEFAULT_URL ,
5859 emissive : true ,
5960 billboardMode : "full" ,
6061 dimensions : CURSOR_SIZE ,
@@ -78,7 +79,7 @@ var Pointer = function(hudLayer, pickType, pointerData) {
7879 } ;
7980 this . fullEnd = {
8081 type : "Image" ,
81- imageURL : CURSOR_IMAGE_URL ,
82+ imageURL : CURSOR_DEFAULT_URL ,
8283 emissive : true ,
8384 billboardMode : "full" ,
8485 dimensions : CURSOR_SIZE ,
@@ -103,12 +104,13 @@ var Pointer = function(hudLayer, pickType, pointerData) {
103104 } ;
104105 this . holdEnd = {
105106 type : "Image" ,
106- imageURL : CURSOR_IMAGE_URL ,
107+ imageURL : CURSOR_GRABBING_URL ,
107108 emissive : true ,
108109 billboardMode : "full" ,
109110 dimensions : CURSOR_SIZE ,
110111 solid : true ,
111112 color : COLORS_GRAB_DISTANCE_HOLD ,
113+ alpha : 0.5 ,
112114 ignorePickIntersection : true ,
113115 renderLayer : cursorRenderLayer ,
114116 sampler : CURSOR_SAMPLER ,
0 commit comments