# Boxes not being linked to camera movement

**URL:** <https://forum.babylonjs.com/t/boxes-not-being-linked-to-camera-movement/12385>\
**Category:** Questions\
**Created:** [July 10, 2020, 2:53pm UTC](https://forum.babylonjs.com/t/boxes-not-being-linked-to-camera-movement/12385 "2020-07-10T14:53:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![TFTF](https://avatars.discourse-cdn.com/v4/letter/t/3be4f8/32.png) [@TFTF](https://forum.babylonjs.com/u/TFTF)\
**Post date:** [July 10, 2020, 2:53pm UTC](https://forum.babylonjs.com/t/boxes-not-being-linked-to-camera-movement/12385/1 "2020-07-10T14:53:11Z")

</div>

Hi guys, I am fairly new to BABYLON.js and I have a bug that I can’t seem to fix…  
So, my site is a load plan renderer (for wood bundles on flatbed trailers), the way it works (currently) is, you input a json (the json is generated from an API I built) into the input on the top left and clic on genrate, wich should generate you a load plan with all the bundles into the trailer.

The problem i have is that it is multi-solution, meaning that there are multiple scenes, the first scene loads perfectly, but the next scnes seem to not link the boxes to the camera movement, meaning that when i move the camera, the boxes stay still…

Can’t figure out how to get them to MOVE…

Files : [https://we.tl/t-j5msIgxm1C](https://we.tl/t-j5msIgxm1C)

As I said in the comment of my file share, you just need to extract the zip, host it (i recommend live server extension on VSCode) and copy/paste the json onto the site…

Any help is REALLY appreciated! 😊

---

<div class="post-metadata">

**Author:** ![JohnK](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/johnk/32/26764_2.png) [@JohnK](https://forum.babylonjs.com/u/JohnK)\
**Post date:** [July 10, 2020, 5:25pm UTC](https://forum.babylonjs.com/t/boxes-not-being-linked-to-camera-movement/12385/2 "2020-07-10T17:25:14Z")

</div>

Hi @TFTF and welcome to the forum. In order to increase the likelihood of responses, it is better if you create a playground. Not many people will go as far as

> [@TFTF](#):
>
> extract the zip, host it (i recommend live server extension on VSCode) and copy/paste the json onto the site…

You do not have to reproduce your full code just a simplified version showing your issue. One with two scenes and created boxes should be sufficient.

How to use multi-scenes in a playground can be found at [https://doc.babylonjs.com/how\_to/multi\_scenes](https://doc.babylonjs.com/how_to/multi_scenes)

If you do need to load an external JSON file into the playground then here is how to do that [https://doc.babylonjs.com/resources/external\_pg\_assets](https://doc.babylonjs.com/resources/external_pg_assets)

Should using the playground prove impossible then a combination of github and netlify will give us access to the code and a live version.

Its not that we are lazy we are all busy with our own projects 🙂

---

<div class="post-metadata">

**Author:** ![TFTF](https://avatars.discourse-cdn.com/v4/letter/t/3be4f8/32.png) [@TFTF](https://forum.babylonjs.com/u/TFTF)\
**Post date:** [July 13, 2020, 5:17pm UTC](https://forum.babylonjs.com/t/boxes-not-being-linked-to-camera-movement/12385/3 "2020-07-13T17:17:42Z")

</div>

Hi @JohnK,

Thank you for the quick response.

I tried putting a simpler version of my app on the playground, but I could not get it to work (jquery and stuff) so I went with the second approach and hosted it at : [https://loadplan.netlify.app/](https://loadplan.netlify.app/)

So, just go to the site, the in the input on the top left, paste the content from solutions.json ([https://we.tl/t-j5msIgxm1C](https://we.tl/t-j5msIgxm1C)) and you will see a load plan appear, then just go the the solution #2 and you will see my problem.

Thank you for your time.

It is very appreciated! 🙂
