hello everyone i am new in babylonjs…still i confused use of getMeshByName …What is the use of getMeshByName…and where we use…
Thankyou…
hello everyone i am new in babylonjs…still i confused use of getMeshByName …What is the use of getMeshByName…and where we use…
Thankyou…
Hi and welcome to the community @Jenifer.
With complex scenes you’ll often have lots of nodes in your scene, so getMeshByName
and getNodeByName
are convenient methods to quickly find (get a reference to) a particular mesh or node e.g. myPlayerCharacterMesh
etc, assuming you’ve named everything well.
Thankyou so much @inteja…