touslecoq Posted September 24, 2016 Share Posted September 24, 2016 Hey guys hopefully this is a really easy one. I've just picked up Babylon again after a few months off. I have a problem and was trying to create a playground file to illustrate it. However even while building my basic playground scene I am getting a compilation error and cannot see why. Compilation error Line 13:27450 - this.updateSideOrientationForRightHandedSystem is not a function http://www.babylonjs-playground.com/#1JX3ZX#1 Thanks in advance. Richard Quote Link to comment Share on other sites More sharing options...
Wingnut Posted September 25, 2016 Share Posted September 25, 2016 Hiya @touslecoq! Yeah, BJS didn't like the 'new' keywords in line 30 and 31 (of below version) (line 27-28 of your version) http://www.babylonjs-playground.com/#1JX3ZX#5 And the faceColor lines don't need 'new' in those either, but those were not the showstoppers. I also added a hemisphericLight... a nice universal light that often gets aimed straight up. That type of light uses a .groundColor. It lights-up the bottom of the mesh, and contributes-to mesh side-illumination, too. Lookin' pretty good, now. Hope this helps. Be well, party on! Quote Link to comment Share on other sites More sharing options...
touslecoq Posted September 26, 2016 Author Share Posted September 26, 2016 Thanks @wingnut, you legend! I'll be back soon with the problem I really needed help with :). 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.