Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
BABYLON.SceneLoader.ImportMeshAsync("", inputs.filePath, inputs.fileName, scene).then(function(result) {
result.meshes[0].position = new BABYLON.Vector3(0, 0, 0);
result.meshes[0].scaling = new BABYLON.Vector3(inputs.scale,inputs.scale,inputs.scale);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment