# OrbitControls Camera wrong position after camera animation completed

**URL:** https://discourse.threejs.org/t/orbitcontrols-camera-wrong-position-after-camera-animation-completed/16545
**Category:** Questions
**Tags:** camera, positioning, orbit-controls, animation, tween
**Created:** [June 25, 2020, 10:51am UTC](https://discourse.threejs.org/t/orbitcontrols-camera-wrong-position-after-camera-animation-completed/16545 "2020-06-25T10:51:45Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![RossMan](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/rossman/32/11381_2.png) [@RossMan](https://discourse.threejs.org/u/RossMan)
#### Post date: [June 25, 2020, 10:51am UTC](https://discourse.threejs.org/t/orbitcontrols-camera-wrong-position-after-camera-animation-completed/16545/1 "2020-06-25T10:51:45Z")

</div>

What I’m expecting to do:  
Get the position of the model  
Move the camera to this position on 0.5 distance.  
Camera look at the position.  
What I have:  
I get the position of the top part of the model.

 ![image](https://canada1.discourse-cdn.com/flex035/uploads/threejs/original/2X/6/693981e648e837884ef356a05207aec0be191ed2.jpeg)  
I’m moving the camera to position,  
var tween = new TWEEN.Tween(camera\_position).to(position, 100);  
tween.start();  
but it’s looking wrong (It’s get inside the middle part of model).  
 ![image](https://canada1.discourse-cdn.com/flex035/uploads/threejs/original/2X/c/c65b84e99230e068e84a2fee029e366d74a04a51.jpeg)  
When I’m loading it inside the three js viewer and check position - it’s correct (on center of mesh)  
 ![image](https://canada1.discourse-cdn.com/flex035/uploads/threejs/original/2X/7/71ff615cc7fae97de6f33686803302002398ff10.png)

---

<div class="post-metadata">

### Author: ![Mugen87](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/mugen87/32/5645_2.png) [@Mugen87](https://discourse.threejs.org/u/Mugen87)
#### Post date: [June 25, 2020, 12:12pm UTC](https://discourse.threejs.org/t/orbitcontrols-camera-wrong-position-after-camera-animation-completed/16545/2 "2020-06-25T12:12:58Z")

</div>

> [@RossMan](#):
>
> but it’s looking wrong (It’s get inside the middle part of model).

`OrbitControls` always looks at the `target` vector. If you want to change the point of focus, you definitely have to change this vector.

---

<div class="post-metadata">

### Author: ![UI\_UNICORN](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/ui_unicorn/32/9842_2.png) [@UI\_UNICORN](https://discourse.threejs.org/u/UI_UNICORN)
#### Post date: [June 25, 2020, 12:45pm UTC](https://discourse.threejs.org/t/orbitcontrols-camera-wrong-position-after-camera-animation-completed/16545/3 "2020-06-25T12:45:07Z")

</div>

See my answer in the below link you can change the x,y and z of the camera/target and make it zoom to where you want [Orbit Controls - Simple Zoom in and Zoom out](https://discourse.threejs.org/t/orbit-controls-simple-zoom-in-and-zoom-out/16519/3)

Be sure to use your original x,y,z of controls.target and camera.position coordinates when using the zoom out function to get back to the original position.

I am still working on this code as it slightly jumps at the end of the animation but I assume that is something to do with the object position and rotation… It works though for zooming
