# How to move camera one position to other position smoothly

**URL:** <https://forum.babylonjs.com/t/how-to-move-camera-one-position-to-other-position-smoothly/34821>\
**Category:** Questions\
**Created:** [October 15, 2022, 7:38am UTC](https://forum.babylonjs.com/t/how-to-move-camera-one-position-to-other-position-smoothly/34821 "2022-10-15T07:38:48Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![chetan](https://avatars.discourse-cdn.com/v4/letter/c/f05b48/32.png) [@chetan](https://forum.babylonjs.com/u/chetan)\
**Post date:** [October 15, 2022, 7:38am UTC](https://forum.babylonjs.com/t/how-to-move-camera-one-position-to-other-position-smoothly/34821/1 "2022-10-15T07:38:48Z")

</div>

Please do not forget to add a link to a [Playground](https://playground.babylonjs.com/) to get a faster answer:

Hi all,  
How to move camera one position to other position smoothly.

![Screenshot from 2022-10-15 13-02-58](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/6/9/69d4a8fd5941c25921ccd243221b80891f5ab7d1.jpeg)

for example on screenshot if click on Box mesh camera travel to mesh position smoothly.

---

<div class="post-metadata">

**Author:** ![mawa](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/mawa/32/12384_2.png) [@mawa](https://forum.babylonjs.com/u/mawa)\
**Post date:** [October 15, 2022, 11:13am UTC](https://forum.babylonjs.com/t/how-to-move-camera-one-position-to-other-position-smoothly/34821/2 "2022-10-15T11:13:33Z")

</div>

Hi,  
I believe the answer is around using an animation for changing the camera position and for the ‘smooth’ effect apply bezier curves to the camera.  
Probably one of the threads below would be a good start:

> [@arcRotateCamera smoothly effect](https://forum.babylonjs.com/t/arcrotatecamera-smoothly-effect/31740):
>
> Hi, guys I want a effect about camera when I mouse move(not click or drag), the camera’s alpha, beta will smoothly change a little bit just like the example below how can do that, or what is the key word thank u ! [https://hinderer-wolff.fr/cepages-alsace](https://hinderer-wolff.fr/cepages-alsace)[https://chartogne-taillet.com/en](https://chartogne-taillet.com/en)[https://skolkovoforbusiness.ru/en/features/#home](https://skolkovoforbusiness.ru/en/features/#home)

> [@Animation speed question](https://forum.babylonjs.com/t/animation-speed-question/30429):
>
> I have a playground here [Camera movement | Babylon.js Playground (babylonjs.com)](https://playground.babylonjs.com/#A584HZ#26) I set the end frame to be 20 in the example, I get a question about how to solve if the camera is changing from 180 degree to the “sphere1” position or just 20 degrees to the “shpere1” position? If I all set end frame always to be 20, the move from 180 degree will be too fast, is there any thing like camera max speed or calculate the new ‘end frame’ based on distance to the “sphere1” position? Any good suggestion …

Else, let me know and try to post a PG of your case. It always make things a lot easier to debug and share.  
Meanwhile, have a great day 🕶

---

<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:** [October 15, 2022, 12:20pm UTC](https://forum.babylonjs.com/t/how-to-move-camera-one-position-to-other-position-smoothly/34821/3 "2022-10-15T12:20:37Z")

</div>

Another alternative

> **[Babylon.js Playground](https://playground.babylonjs.com/#9NDR51%235)**
>
> Babylon.js playground is a live editor for Babylon.js WebGL 3D scenes

---

<div class="post-metadata">

**Author:** ![mawa](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/mawa/32/12384_2.png) [@mawa](https://forum.babylonjs.com/u/mawa)\
**Post date:** [October 15, 2022, 12:37pm UTC](https://forum.babylonjs.com/t/how-to-move-camera-one-position-to-other-position-smoothly/34821/4 "2022-10-15T12:37:29Z")

</div>

> [@JohnK](#):
>
> alternative

Huh… this looks pretty much like an animation to me 😁 😉  
But then, you provided the PG so thanks for that 😃 🥰  
And yes, it is smooth indeed 👍

---

<div class="post-metadata">

**Author:** ![labris](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/labris/32/12576_2.png) [@labris](https://forum.babylonjs.com/u/labris)\
**Post date:** [October 15, 2022, 2:55pm UTC](https://forum.babylonjs.com/t/how-to-move-camera-one-position-to-other-position-smoothly/34821/5 "2022-10-15T14:55:55Z")

</div>

Do you use Universal camera or ArcRotate camera?  
Implementations may differ.

---

<div class="post-metadata">

**Author:** ![chetan](https://avatars.discourse-cdn.com/v4/letter/c/f05b48/32.png) [@chetan](https://forum.babylonjs.com/u/chetan)\
**Post date:** [October 15, 2022, 3:00pm UTC](https://forum.babylonjs.com/t/how-to-move-camera-one-position-to-other-position-smoothly/34821/6 "2022-10-15T15:00:31Z")

</div>

> [@labris](#):
>
> Universal camera

I have Universal camera
