Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding a parent SoftMask would cause raycast filter not work correctly on overlapping SoftMaskables #139

Open
SaturnusK1 opened this issue Aug 11, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@SaturnusK1
Copy link

Describe the bug
I was facing the issue reported in #109 and tried to fix it by adding the parent SoftMask but it caused the Raycast Filter on overlapping SoftMaskables not work correctly.

To Reproduce
I attached a sample project to explain the repro steps. You can read the extended explanation the ReadMe file in Assets folder of the project.
Basically the masked roof look like the second screenshot but the raycast area is the same as the third one.

Expected behavior
The raycast filter shape should be the same as the masked shape

Screenshots
image
image
image

Environment (please complete the following information):

  • Version [1.0.0]
  • Platform: [Editor(Windows)]
  • Unity version: [2019.4.11f1]

SoftMaskSample.zip

@SaturnusK1 SaturnusK1 added the bug Something isn't working label Aug 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants