Hi, new to Babylon.js and the forum. I want to use the renderOutline property on the rabbit.babylon model from BONES demo.
BABYLON.SceneLoader.ImportMesh("", "models/", "rabbit.babylon", scene, function (newMeshes, particleSystems, skeletons) {
var mdl_Rabbit = newMeshes[0];
mdl_Rabbit.position = new BABYLON.Vector3(0, 0, 40);
mdl_Rabbit.renderOutline = true;
});
It changes the position of the rabbit but it does not render outline. Also for some reason, I could use newMeshes[12] and the rabbit would still display correctly. mdl_Rabbit.showBoundingBox doesn't work either.
Overall it's obvious I don't understand how the ImportMesh works. So, what am I missing and how do I get renderOutline to work?