GUI (Plane rotation around mesh)

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 :slight_smile:

Playground
Screenshot

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