Cannot position HolographicSlate?

Playground: https://playground.babylonjs.com/#29HCV9#1

Is there something I missed? It should be pretty simple, but I’ve tried for ages to move an HolographicSlate to a new position in the world, but nothing changed.

You currently need to set the position after defining the content as it is using it internally https://playground.babylonjs.com/#29HCV9#2

It is confusing, adding @RaananW to see if there is a quick fix when he’ll be back from vacations.

1 Like

Hi, thank you for your answer, it works perfectly. It’s confusing indeed, there should be a way to store the position and assigning it after setting the content, but I don’t know enough about the inner workings of the engine.

1 Like

Well, it is explained in the doc. :face_with_monocle:… But then, the fact that I still remember it 3+ years after using it for a first time kinda demonstrates that it did strike me (and it does) :face_with_raised_eyebrow:. So, if by any means, there would be a way to change this (and thus, increase user experience), this would be an :+1: upvote from me :smile:

Trying to find a ncie solution here. I will probably add it as part of [GUI] Fit texture scale to slate dimensions by RaananW · Pull Request #15502 · BabylonJS/Babylon.js (github.com)

Addressed here - [GUI] Fit texture scale to slate dimensions by RaananW · Pull Request #15502 · BabylonJS/Babylon.js (github.com)

1 Like

Sounds good. I will try find a minute to check on this on monday. Thx a lot for the fix :hugs: and have a great weekend :sunglasses: