# Why Model's pivot changes when we render the hosted models?

**URL:** <https://forum.babylonjs.com/t/why-models-pivot-changes-when-we-render-the-hosted-models/10172>\
**Category:** Questions\
**Tags:** react\
**Created:** [April 20, 2020, 6:04pm UTC](https://forum.babylonjs.com/t/why-models-pivot-changes-when-we-render-the-hosted-models/10172 "2020-04-20T18:04:01Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![surabhi\_arora](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/surabhi_arora/32/7388_2.png) [@surabhi\_arora](https://forum.babylonjs.com/u/surabhi_arora)\
**Post date:** [April 20, 2020, 6:04pm UTC](https://forum.babylonjs.com/t/why-models-pivot-changes-when-we-render-the-hosted-models/10172/1 "2020-04-20T18:04:01Z")

</div>

I have a query that when I am rendering the hosted models (Model is stored on a cloud storage) their pivot changes.Is there any solution to this problem?

---

<div class="post-metadata">

**Author:** ![belfortk](https://avatars.discourse-cdn.com/v4/letter/b/ed8c4c/32.png) [@belfortk](https://forum.babylonjs.com/u/belfortk)\
**Post date:** [April 20, 2020, 6:14pm UTC](https://forum.babylonjs.com/t/why-models-pivot-changes-when-we-render-the-hosted-models/10172/2 "2020-04-20T18:14:07Z")

</div>

Is it possible to rotate the camera to the correct orientation on mesh load? Or you can rotate or position the model on load.

[https://doc.babylonjs.com/babylon101/position](https://doc.babylonjs.com/babylon101/position)

---

<div class="post-metadata">

**Author:** ![surabhi\_arora](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/surabhi_arora/32/7388_2.png) [@surabhi\_arora](https://forum.babylonjs.com/u/surabhi_arora)\
**Post date:** [April 21, 2020, 1:06pm UTC](https://forum.babylonjs.com/t/why-models-pivot-changes-when-we-render-the-hosted-models/10172/3 "2020-04-21T13:06:12Z")

</div>

I am keep the default position of the models as (0,0,0) and of the acrrotation camera at (0,1,0) in rendering the scene

---

<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:** [April 21, 2020, 3:56pm UTC](https://forum.babylonjs.com/t/why-models-pivot-changes-when-we-render-the-hosted-models/10172/4 "2020-04-21T15:56:13Z")

</div>

Is this topic helpful? [Set pivot rotation to origin](https://forum.babylonjs.com/t/set-pivot-rotation-to-origin/10058)

---

<div class="post-metadata">

**Author:** ![belfortk](https://avatars.discourse-cdn.com/v4/letter/b/ed8c4c/32.png) [@belfortk](https://forum.babylonjs.com/u/belfortk)\
**Post date:** [April 21, 2020, 11:28pm UTC](https://forum.babylonjs.com/t/why-models-pivot-changes-when-we-render-the-hosted-models/10172/5 "2020-04-21T23:28:01Z")

</div>

Here is a pg I made showing how you can update the camera when the model is loaded to fix the orientation

[https://playground.babylonjs.com/#A4T6GV](https://playground.babylonjs.com/#A4T6GV)

Check out this pg to see how rotating a model works. Pay attention to lines 38-40.

[https://www.babylonjs-playground.com/#1ZMJQV#2](https://www.babylonjs-playground.com/#1ZMJQV#2)
