reddozen Posted May 22, 2015 Share Posted May 22, 2015 I've seen a couple screen shots from editors where this was done using the standard red, green and blue arrows, but does anyone have a rough version they could share of how best to do this? I'm not really sure where to start since you'd have to lock the free camera etc, and I'm not sure how to handle the event calls to get the change in X Y or Z depending on the arrow you're dragging when you release the mouse button. I hope this makes since. Quote Link to comment Share on other sites More sharing options...
jerome Posted May 22, 2015 Share Posted May 22, 2015 http://www.babylonjs-playground.com/#2L9DCA just copy/cup the function showAxis() between commentsthese are world axis only then you can use it this way :showAxis(size);@Alby : maybe this one could be a good candidate to your user custom function collection, couldn't it ? just make it a named function instead of a variable Quote Link to comment Share on other sites More sharing options...
Temechon Posted May 22, 2015 Share Posted May 22, 2015 Here is my version, works for any mesh: http://www.babylonjs-playground.com/#UTDZF jerome 1 Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted May 23, 2015 Share Posted May 23, 2015 It could be a good idea to add this script here:https://github.com/BabylonJS/UserFunctions 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.