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

Applicable decals by ColissionLayer #9

Open
RiadOkba opened this issue Jul 25, 2022 · 0 comments
Open

Applicable decals by ColissionLayer #9

RiadOkba opened this issue Jul 25, 2022 · 0 comments

Comments

@RiadOkba
Copy link

RiadOkba commented Jul 25, 2022

Dear,

Is there a way to implement "collision layers" in your solution? So the Decal would work on certain object but not other

Scenario: an enemy being shot, so he loses bloods (Decal Splatter on the floor). Same enemy walks on the blood splatter, it would reflect on him!
Exp: (I tried my best to illustrate the problem in the picture below... I hope you can see the blood supposed in the floor is shown on the enemy body...)
3

So the obvious solution, is to have the z axis of the decal as small as possible. But, it's not applicable in my case because it's splatter over curved and messy meshes... The best is to have a sort of mechanism that will tell the Decal on which object/node it would reflect...

Thanks a lot for your answer, and thanks a lot for such great feature

Regards
Riad

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant