Home > other >  Who deliver ah
Who deliver ah

Time:09-21

The problem is this:
A position, the role location,
Another location, the location of the mouse click,
How did a ray from the role position, through the mouse click position, continues to slide back?
Such as coordinates, [100150], click the position [100200],

CodePudding user response:

You are to draw the rays, or calculate ray?

CodePudding user response:

Are you going to converts the screen coordinates of the mouse to click position location into a 3 d world coordinates,
Then you can use the role of the position and the world coordinates generated a ray

CodePudding user response:

The line renderer
  • Related