Skip to content

Commit

Permalink
fix 101 tutorial
Browse files Browse the repository at this point in the history
Signed-off-by: Nicolas Earnshaw <[email protected]>
  • Loading branch information
nearnshaw authored Aug 13, 2024
1 parent 55f1057 commit 5bdcbfb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions content/creator/sdk7/getting-started/SDK-101.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Download this 3D model of an avocado in _glb_ format from the following [link](h

![](/images/media/avocado.jpg)

Create a new folder under your scenes directory named `/models`. Extract the downloaded file and place the `avocado.glb` in the new `/models` folder.
Create a new folder at root level in your scene's directory named `/models`. Extract the downloaded file and place the `avocado.glb` in the new `/models` folder.

In Visual Studio Code, navigate to the `/models` folder and select the `avocado.glb` model. You'll see a tab opens to preview what the 3D model looks like.

Expand All @@ -75,7 +75,7 @@ export function main() {
let avocado = engine.addEntity()

GltfContainer.create(avocado, {
src: 'models/Avocado.glb',
src: 'models/avocado.glb',
})

Transform.create(avocado, {
Expand Down Expand Up @@ -109,14 +109,14 @@ export function main() {
let avocado = engine.addEntity()

GltfContainer.create(avocado, {
src: 'models/Avocado.glb',
src: 'models/avocado.glb',
})

Transform.create(avocado, {
position: Vector3.create(3, 1, 3),
})

Spinner.create({ speed: 1 })
Spinner.create(avocado, { speed: 1 })
}
```

Expand Down

0 comments on commit 5bdcbfb

Please sign in to comment.