# Any way to rotate objects in 360 using orbitcontrols along y axis

**URL:** <https://discourse.threejs.org/t/any-way-to-rotate-objects-in-360-using-orbitcontrols-along-y-axis/7339>\
**Category:** Questions\
**Tags:** orbit-controls\
**Created:** [May 2, 2019, 9:58am UTC](https://discourse.threejs.org/t/any-way-to-rotate-objects-in-360-using-orbitcontrols-along-y-axis/7339 "2019-05-02T09:58:15Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![suraj](https://avatars.discourse-cdn.com/v4/letter/s/ecccb3/32.png) [@suraj](https://discourse.threejs.org/u/suraj)\
**Post date:** [May 2, 2019, 9:58am UTC](https://discourse.threejs.org/t/any-way-to-rotate-objects-in-360-using-orbitcontrols-along-y-axis/7339/1 "2019-05-02T09:58:15Z")

</div>

Not able to rotate object/model beyond 180 degrees (y axis )using orbit controls?

---

<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:** [May 2, 2019, 10:05am UTC](https://discourse.threejs.org/t/any-way-to-rotate-objects-in-360-using-orbitcontrols-along-y-axis/7339/2 "2019-05-02T10:05:19Z")

</div>

Duplicate of: [[Solved] OrbitControls max polar angle = Infinity?](https://discourse.threejs.org/t/solved-orbitcontrols-max-polar-angle-infinity/2629)

Consider to use `TrackballControls` instead.

---

<div class="post-metadata">

**Author:** ![suraj](https://avatars.discourse-cdn.com/v4/letter/s/ecccb3/32.png) [@suraj](https://discourse.threejs.org/u/suraj)\
**Post date:** [May 2, 2019, 10:34am UTC](https://discourse.threejs.org/t/any-way-to-rotate-objects-in-360-using-orbitcontrols-along-y-axis/7339/3 "2019-05-02T10:34:35Z")

</div>

Tried TrackballControls too but zoom and pan not working!

If Zoom and Pan possible in trackball let me know how?

---

<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:** [May 2, 2019, 11:49am UTC](https://discourse.threejs.org/t/any-way-to-rotate-objects-in-360-using-orbitcontrols-along-y-axis/7339/4 "2019-05-02T11:49:04Z")

</div>

I don’t think this is true. Zooming and panning works fine in the official example:

[https://threejs.org/examples/misc\_controls\_trackball](https://threejs.org/examples/misc_controls_trackball)

---

<div class="post-metadata">

**Author:** ![suraj](https://avatars.discourse-cdn.com/v4/letter/s/ecccb3/32.png) [@suraj](https://discourse.threejs.org/u/suraj)\
**Post date:** [May 2, 2019, 12:21pm UTC](https://discourse.threejs.org/t/any-way-to-rotate-objects-in-360-using-orbitcontrols-along-y-axis/7339/5 "2019-05-02T12:21:40Z")

</div>

Does it work with Orthographic camera?

---

<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:** [May 2, 2019, 12:49pm UTC](https://discourse.threejs.org/t/any-way-to-rotate-objects-in-360-using-orbitcontrols-along-y-axis/7339/6 "2019-05-02T12:49:54Z")

</div>

Check out [OrthographicTrackballControls](https://github.com/mrdoob/three.js/blob/dev/examples/js/controls/OrthographicTrackballControls.js).

---

<div class="post-metadata">

**Author:** ![Rishabh\_Malakar](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/rishabh_malakar/32/55776_2.png) [@Rishabh\_Malakar](https://discourse.threejs.org/u/Rishabh_Malakar)\
**Post date:** [March 6, 2025, 6:11am UTC](https://discourse.threejs.org/t/any-way-to-rotate-objects-in-360-using-orbitcontrols-along-y-axis/7339/7 "2025-03-06T06:11:25Z")

</div>

Thanks for your guidance I also stuck on the same problem but with help of your suggestions it works perfectly.
