Intermediate
Centre the crate and put it on the floor
The crate arrives off to the side and floating: its geometry was moved by (2, 3, 1) when it was made.
Fix its geometry (not the mesh's position) so the crate is centred at x = 0 and z = 0 with its bottom at y = 0. Keep the mesh at (0, 0, 0), and keep its bounding box up to date.
What Check tests
- The mesh itself is still at (0, 0, 0)
- The lowest vertex is at y = 0
- The crate is centred in x and z
- Its bounding box is not stale
Stuck? One hint at a time
The solution unlocks after your first Check. Try first: that is where the learning happens.
Runs in your browser. Your code is saved here.
Your page
Press Run to see the page.
Console
Nothing logged yet.