renderOverlay on animated mesh

forgive my memory, alto I have a distinct impression of seeing this solved b4, I simply cannot find it in forum. So here it goes again :(.

repro: Babylon.js Playground

Mouseover on the right rabbit after its animation has ended. You’ll will find that there are distinct places that correspond to the mesh’s bind pose(?) that the mouseover/out works. eg: if you try to mouseover the tip of the rabbit ears, the render overlay doesn’t trigger. I believe the mouseover doesn’t take ske transformations into account, the question here is:

What is the magical command I’m missing here ?

so this is how it works…sometimes I post a question here, roughly a few minutes later, a light bulb goes off and I figure it out. In this case, its refreshBoundingInfo(true);

Marking as solved =).

2 Likes

nw, I do that all the time :slight_smile:

1 Like