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

remove decal after collision #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

tcm390
Copy link
Contributor

@tcm390 tcm390 commented Apr 14, 2022

  1. add collision time for every decal.
  2. If the decal exist more than 1.5 sec, then clean the decalMesh position attribute.
    This is the result:
Webaverse.-.Google.Chrome.2022-04-13.22-15-04.mp4

@tcm390 tcm390 changed the title remove decal after 1.5 sec remove decal after collision Apr 14, 2022
@tcm390 tcm390 requested a review from alisaad673 April 14, 2022 02:58
@alisaad673
Copy link
Contributor

This seems to work fine. But one suggestion here is to Make the decal not disappear suddenly. Instead, if we can keep reducing the opacity of the decal until it disappears? Is it doable?

bandicam.2022-04-14.19-55-18-302.mp4

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

Successfully merging this pull request may close these issues.

2 participants