Skip to content

remove decal after collision#9

Open
tcm390 wants to merge 1 commit intomasterfrom
remove-pistol-decal
Open

remove decal after collision#9
tcm390 wants to merge 1 commit intomasterfrom
remove-pistol-decal

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