GUI TextBlock linked with line does not update by updating line

Why does the TextBlock link with the line does not update by updating line and how can i do to perform this ?

The PG :

cc @carolhmj our GUI guru

I’ll look at this asap

Ooook got it, you have to call refreshBoundingInfo so the lines bounding box is updated: Lines Examples | Babylon.js Playground (babylonjs.com)

5 Likes

Thank you !

I’ve tried computeWorldMatrix, ui.update, remove en re-add the control but refreshBoundingInfo was out of my mind.

Amazing team as usal.

1 Like