Jump to content

About BABYLON.GUI.PlanePanel


Buzul
 Share

Recommended Posts

Hi everybody...

I readed many documents but i couldn't find any thing.

I'm trying to do rotate PlanePanel, i'm using "orientation" for this but how to using "orientation" i coulnd't find any sample at PG.

my PG link: https://www.babylonjs-playground.com/#HB4C01#48

I have to rotate this panel and also those 3 buttons shuld be work like one button.

How can i do this. Masters can show me the way?

 

 

Link to comment
Share on other sites

16 hours ago, Deltakosh said:

So here is how to use the orientation property: https://www.babylonjs-playground.com/#HB4C01#49

What do you mean by "3 buttons should be work like one button." ?

Hi.. Thanks for your reply.

I tryed your suggestions but it's not working like i want. I want to rotate control arround Y axis; I'm keep trying for this.

I mean about "3 buttons should be work like one button" : I try to make special shape button like a corner. For this case 3 buttons will be enought but those 3 buttons sould be work like 1 button.

 Example: when i bring cursor to on any button i want to see all buttons (3 buttons) should be colorise.

Link to comment
Share on other sites

3 hours ago, ssaket said:

PlanePanel doesn't have rotation property, hence assigning value to PlanePanel.rotation won't work; you can try TransformNode for this. Regarding combining the 3 buttons, you can refer this - https://www.babylonjs-playground.com/#HB4C01#50

@ssaket thanks for your reply.

I'm trying to do this with TransformNode.. When i did i'll let you know..

Thank you...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...