focomoso Posted August 17, 2017 Share Posted August 17, 2017 Hi, I need to make a custom transform gizmo. Building the gizmo itself is pretty simple, but is there a way to make it draw on top of everything else in the scene? For example, if I have a sphere and turn on the transform gizmo, the gizmo itself is obscured by the sphere. I need the gizmo to be attached to the object (move with it in 3d space) but be visible no matter what geometry is around it. Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted August 17, 2017 Share Posted August 17, 2017 Sure you can Thanks to rendering group: https://www.babylonjs-playground.com/#1DLSTV#1 focomoso 1 Quote Link to comment Share on other sites More sharing options...
focomoso Posted August 17, 2017 Author Share Posted August 17, 2017 Elegant solution - thanks. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.