Mario9955 Posted November 22, 2016 Share Posted November 22, 2016 Hi guys, I' am really new to Babylon and need to know how I can access/modify an existing cylinder. Looked at several tutorials but maybe didn't find the right one... Here is my example code: http://www.babylonjs-playground.com/#1FXAOY#0 1.) How can I retrieve the 'cylinder' object again for manipulating the height? 2.) Do I have to implement the call inside the engine.runRederLoop function or is there a better place? Quote Link to comment Share on other sites More sharing options...
zazzà Posted November 23, 2016 Share Posted November 23, 2016 Hi Mario, Also I'm new in Babylon.. but this works for me.. define global var "scene" then call "getMeshByName();" and then you can apply what you want.. to modify the height I have scaling Y here the link http://www.babylonjs-playground.com/#1JPBYP#0 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.