Skip to content

Cannot raycast though unmasked areas #226

Open
@PalaNolho

Description

@PalaNolho

Not sure if it's a Bug or Feature request.

It's not possible to raycast though the mask subtract.

Imagine that you have a mask that occupies the whole screen and then you have inside an dark color image to dim the screen.
Ans them under it you have Masking shapers (Subtraact) to remove certain areas of the mask that you want the user to see underneath and you want the user to be able to click on what behind

At the moment it doesn't seem to be possible.
The only way to make it happen was uncheck the "Raycast target" from all images from the mask, which beats the purpose of not allowing to click where the mask is in place.

The way I see it should work is:

  • if it's masked, block raycast (or not) based on the raycast flag on the image
  • if not masked (or masked with subtract) then it should not block raycast (or it could still use the flag on that image to control it, but it should be possible to choose to not clock in those areas

thanks

(in the image below, the grey is an image stretching to occupy the whole mask and the white are the maskable objects set to subtract)

Image

Image

Image

Image

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions