# How do I rotate the model in the center of a 200px shift

**URL:** <https://discourse.threejs.org/t/how-do-i-rotate-the-model-in-the-center-of-a-200px-shift/60985>\
**Category:** Questions\
**Tags:** controls, camera\
**Created:** [February 2, 2024, 3:43am UTC](https://discourse.threejs.org/t/how-do-i-rotate-the-model-in-the-center-of-a-200px-shift/60985 "2024-02-02T03:43:21Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![mjurczyk](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/mjurczyk/32/10995_2.png) [@mjurczyk](https://discourse.threejs.org/u/mjurczyk)\
**Post date:** [February 2, 2024, 4:45am UTC](https://discourse.threejs.org/t/how-do-i-rotate-the-model-in-the-center-of-a-200px-shift/60985/2 "2024-02-02T04:45:24Z")

</div>

Is the model static or movable? If the first one, [this thread is pretty much all the calculations you need](https://discourse.threejs.org/t/functions-to-calculate-the-visible-width-height-at-a-given-z-depth-from-a-perspective-camera/269) - if the second one, it’s not really possible. If the model is movable, it’s size will change according to the perspective, rotating the camera will change the relative depth of the model, changing the meaning of “200px” for it.

---

_[View the full topic](https://discourse.threejs.org/t/how-do-i-rotate-the-model-in-the-center-of-a-200px-shift/60985)._
