Hi,
i need a help,
how to access the mesh properties from another function
code is below...
it show
Uncaught TypeError: Cannot read property 'position' of undefined
how to fix it
BABYLON.SceneLoader.ImportMesh("", "scenes/", "a44.babylon", scene, function (newMeshes) {
player = scene.getMeshByName("Character");
}
console.log(player.position);