Hello! I’m trying to recreate UI mechanic shown on this Video. I cant figure out how to rotate Plane around Mesh. I would be grateful for your help
Adding @msDestiny14
Without billboarding, you can typically just add a parent to the plane and then you can rotate the parent.
https://playground.babylonjs.com/#H36NXK#1
With billboarding, parent rotations don’t work (Thanks @Evgeni_Popov for investigating!)
But you can use an invisible node and copy the position over, like this:
https://playground.babylonjs.com/#H36NXK#2
4 Likes
Thank you for your quick response! Updated playground. Maybe there is a cleaner solution?
1 Like
Have you found a simple solution?
Yup have a look at the 2 previous answers. Is anything missing ?
Babylon GUI (Plane Buttons) | Babylon.js Playground (babylonjs.com)
We can close this thread, thx you all for help ive got what i wanted long time ago.
1 Like