satguru Posted April 23, 2016 Share Posted April 23, 2016 if a mesh is assigned a parent and if its billboard mode is set then it is positioned incorrectly see http://www.babylonjs-playground.com/#AL9LF#0 here we have a sphere and a plane plane parent is set to sphere uncomment line 31. line 31 sets billboard mode notice that plane moves to different location Quote Link to comment Share on other sites More sharing options...
Dad72 Posted April 24, 2016 Share Posted April 24, 2016 Hi, I see no problem. the plane is attached to the sphere. if you move the sphere, the plane follows. This is the expected result. Quote Link to comment Share on other sites More sharing options...
satguru Posted April 24, 2016 Author Share Posted April 24, 2016 Yes, it is attached but at the wrong place. It's position with respect to the sphere should not change when billboard mode is turned on. It should remain at 0,0,0 with respect to the sphere Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted April 25, 2016 Share Posted April 25, 2016 This is a bug...I'll fix it for next commit 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.