kru64 Posted October 25, 2013 Share Posted October 25, 2013 In tutorial https://github.com/BabylonJS/Babylon.js/wiki/02-Basic-elementsvar cylinder = BABYLON.Mesh.CreateCylinder("cylinder", 3, 3, 3, 6, scene, false);and web browser show white screen Must be var cylinder = BABYLON.Mesh.CreateCylinder("cylinder", 3, 3, 6, scene, false); Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted October 26, 2013 Share Posted October 26, 2013 Hello I thought I corrected the zip file The tutorial is correct: you have to use the following code:var cylinder = BABYLON.Mesh.CreateCylinder("cylinder", 3, 3, 3, 6, scene, false); But you also have to reference the latest version of babylon.js I will double check the tutorial to ensure the zip is correct:) Quote Link to comment Share on other sites More sharing options...
kru64 Posted October 26, 2013 Author Share Posted October 26, 2013 You are right. In August was only diameter of cylinder, and now in October diameterTop, diameterBottom. 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.