Skip to main content
Commonmark migration
Source Link

It looks like you're using raycasting. Put a 3D object behind your interface, make it really small on Z coordinates and scale it to your interface on X and Y (or the coordinate system you are using). Make sure they are hidden behind your interface (make Z coorditane 1 or more).

You do need to use the Screen Space - Camera option with this, because Screen Space - Overlay won't work (as seen in the gif). That should stop any raycasting from going through.

Something like this: ![enter image description here][1] [1]: http://i.imgur.com/jSk0eCt.gifhttp://i.imgur.com/jSk0eCt.gif

It looks like you're using raycasting. Put a 3D object behind your interface, make it really small on Z coordinates and scale it to your interface on X and Y (or the coordinate system you are using). Make sure they are hidden behind your interface (make Z coorditane 1 or more).

You do need to use the Screen Space - Camera option with this, because Screen Space - Overlay won't work (as seen in the gif). That should stop any raycasting from going through.

Something like this: ![enter image description here][1] [1]: http://i.imgur.com/jSk0eCt.gif

It looks like you're using raycasting. Put a 3D object behind your interface, make it really small on Z coordinates and scale it to your interface on X and Y (or the coordinate system you are using). Make sure they are hidden behind your interface (make Z coorditane 1 or more).

You do need to use the Screen Space - Camera option with this, because Screen Space - Overlay won't work (as seen in the gif). That should stop any raycasting from going through.

Something like this: http://i.imgur.com/jSk0eCt.gif

Source Link
John Hamilton
  • 3.1k
  • 1
  • 17
  • 34

It looks like you're using raycasting. Put a 3D object behind your interface, make it really small on Z coordinates and scale it to your interface on X and Y (or the coordinate system you are using). Make sure they are hidden behind your interface (make Z coorditane 1 or more).

You do need to use the Screen Space - Camera option with this, because Screen Space - Overlay won't work (as seen in the gif). That should stop any raycasting from going through.

Something like this: ![enter image description here][1] [1]: http://i.imgur.com/jSk0eCt.gif