Stuck on The Very First Step

Hi!

I am going through the beginner tutorial and it tells me to press Ctrl+Space and select the “Import a Mesh w/ callback” snippet… but that doesn’t exist. I tried the regular “Import a Mesh” snippet but I am unsure how to proceed. The parser tells me that the ImportMesh function is deprecated:

Hello and welcome!

Here is a working Playground (we call it PG) with some comments:

Hope, this helps!

Feel free to ask!

Ah, so the Very First Step tutorial text is out of date with the current version of the engine? Is that something I can help update? I have some time, and enjoy documentation tasks.

2 Likes

the ctrl+space?

Import Mesh was deprecated. Recommended to use the async - have a look here if you would like to get involved:
Babylon.js/packages/tools/playground/public/templates.json at e8aa3201aa717481fe29c16ef8accb58ee012c08 · BabylonJS/Babylon.js

There are instructions in the repo to get the playground running locally. It’s pretty fun to get it all working and contribute. :smile:

3 Likes