Jump to content

CSG rotation


Recommended Posts

Hi there,

Ive been picking up the babylon framework over the past couple of weeks but this one has really stumped me.

All i'm trying to do is rotate the CSG's 45degs about the y axis. So the result looks like a 'X' rather than a '+'

I can move one bar or the other into place but as soon as i apply a rotation to both they revert to the original 'plus' position.


Im trying to rotate the CSG rather than the resulting mesh because I need the y axis to = 0 for the roll over effect.

Any help would be really appreciated!

Cheers, Jake.

Link to comment
Share on other sites


Almost, so the 'a' CSG now has a rotation on it in your sketch and is in the correct position. I would like to rotate the 'b' CSG by the same amount as well. But when I give it *any* rotation at all both rotations seem to be ignored and it just produces the '+' shape again rather than the desired 'X'

Does that make sense? 

This is what i'd like to achieve. I did this by just rotating the camera, but that isn't really a solution because it interferes with the roll over effect, and id really like to understand a bit more about the CSG problem as well.



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.

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.


  • Recently Browsing   0 members

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