Falling dominoes to change material ID after they fall

Falling dominoes to change material ID after they fall

coilbookmedia
Advocate Advocate
366 Views
2 Replies
Message 1 of 3

Falling dominoes to change material ID after they fall

coilbookmedia
Advocate
Advocate

Hi

We have hundreds of dominoes falling.  We need each domino to change material ID from 1 to 2 after it falls so we can assign a glowing texture to each fallen domino.   is there a script for it? 

Thanks  

0 Likes
367 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable

Is this what you are after? It doesn`t switch between Material ID`s however, but blends between the Materials using Vertex Color Map.

https://www.youtube.com/watch?v=43ZZWuy-dkc&feature=youtu.be

 

This was done with DataChannel->Vector->Curve->Scale->Vertex output. Instanced across the dominos.

Uses a Blend Material with vertex color map as mask.

 

 

 

0 Likes
Message 3 of 3

coilbookmedia
Advocate
Advocate

Wow!  Thank you! 

0 Likes