I have a pot model, and it has a really large shadow mesh instance.
I know I can set the shadow meshInstance’s
visible property to
false to make it invisible, however when I click the invisible shadow and use
pc.Picker to get the entity of the click point, I can still get the pot entity, this is not expect. What I want is clicking the invisible shadow, the picker should not get the pot entity.
So, can I destroy the shadow mesh instance? and how to do it?