# Sequencer camera spins around after 180 degrees

**URL:** <https://forums.unrealengine.com/t/sequencer-camera-spins-around-after-180-degrees/101620>\
**Category:** Character & Animation\
**Tags:** unreal-engine\
**Created:** [October 22, 2017, 5:41pm UTC](https://forums.unrealengine.com/t/sequencer-camera-spins-around-after-180-degrees/101620 "2017-10-22T17:41:34Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![syrom](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@syrom](https://forums.unrealengine.com/u/syrom)\
**Post date:** [October 22, 2017, 5:41pm UTC](https://forums.unrealengine.com/t/sequencer-camera-spins-around-after-180-degrees/101620/1 "2017-10-22T17:41:34Z")

</div>

Is this a bug? Doing a simple fly through of a interior amd of i rotate the camer past 180 degrees, it does a whole 360. Any fix?

---

<div class="post-metadata">

**Author:** ![syrom](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@syrom](https://forums.unrealengine.com/u/syrom)\
**Post date:** [October 22, 2017, 5:54pm UTC](https://forums.unrealengine.com/t/sequencer-camera-spins-around-after-180-degrees/101620/2 "2017-10-22T17:54:15Z")

</div>

I FIXED OT THROUGHT the curve editor but is there a way to prevent this in the first place?

---

<div class="post-metadata">

**Author:** ![cyaoeu](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@cyaoeu](https://forums.unrealengine.com/u/cyaoeu)\
**Post date:** [October 24, 2017, 11:06am UTC](https://forums.unrealengine.com/t/sequencer-camera-spins-around-after-180-degrees/101620/3 "2017-10-24T11:06:28Z")

</div>

Nope it’s a bug.

---

<div class="post-metadata">

**Author:** ![syrom](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@syrom](https://forums.unrealengine.com/u/syrom)\
**Post date:** [October 25, 2017, 1:36am UTC](https://forums.unrealengine.com/t/sequencer-camera-spins-around-after-180-degrees/101620/4 "2017-10-25T01:36:12Z")

</div>

> [@cyaoeu](#):
>
> Nope it’s a bug.

Ahhhh! Good to know. Its annoying. I just dl 4.18… wonder if its fixed.

---

<div class="post-metadata">

**Author:** ![dalenaxtran](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dalenaxtran](https://forums.unrealengine.com/u/dalenaxtran)\
**Post date:** [October 25, 2017, 11:26am UTC](https://forums.unrealengine.com/t/sequencer-camera-spins-around-after-180-degrees/101620/5 "2017-10-25T11:26:41Z")

</div>

> [@syrom](#):
>
> Ahhhh! Good to know. Its annoying. I just dl 4.18… wonder if its fixed.

I also wanted to update to 4.18 to see if its fixed, do you have an update @syrom?

---

<div class="post-metadata">

**Author:** ![syrom](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@syrom](https://forums.unrealengine.com/u/syrom)\
**Post date:** [October 25, 2017, 6:05pm UTC](https://forums.unrealengine.com/t/sequencer-camera-spins-around-after-180-degrees/101620/6 "2017-10-25T18:05:32Z")

</div>

> [@dalenaxtran](#):
>
> I also wanted to update to 4.18 to see if its fixed, do you have an update @syrom?

I dl it but havent gotten to use it with animation. Ill try it out in about 3 hours when I am free.

---

<div class="post-metadata">

**Author:** ![syrom](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@syrom](https://forums.unrealengine.com/u/syrom)\
**Post date:** [October 25, 2017, 10:34pm UTC](https://forums.unrealengine.com/t/sequencer-camera-spins-around-after-180-degrees/101620/7 "2017-10-25T22:34:32Z")

</div>

Ok… just tried it. If its a bug, its still there. It flipped 360 again. 😕

---

<div class="post-metadata">

**Author:** ![dalenaxtran](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dalenaxtran](https://forums.unrealengine.com/u/dalenaxtran)\
**Post date:** [October 26, 2017, 4:24am UTC](https://forums.unrealengine.com/t/sequencer-camera-spins-around-after-180-degrees/101620/8 "2017-10-26T04:24:23Z")

</div>

> [@syrom](#):
>
> Ok… just tried it. If its a bug, its still there. It flipped 360 again. 😕

Ah yeah, I downloaded the latest as well to try it. It’s very unfortunate that this happens.

---

<div class="post-metadata">

**Author:** ![FrankieV](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@FrankieV](https://forums.unrealengine.com/u/FrankieV)\
**Post date:** [October 26, 2017, 5:51am UTC](https://forums.unrealengine.com/t/sequencer-camera-spins-around-after-180-degrees/101620/9 "2017-10-26T05:51:39Z")

</div>

Well it’s not a bug but a thing called Gimbal Lock

> **[Gimbal lock](https://en.wikipedia.org/wiki/Gimbal_lock)**
>
> Gimbal lock is the loss of one degree of freedom in a three-dimensional, three-gimbal mechanism that occurs when the axes of two of the three gimbals are driven into a parallel configuration, "locking" the system into rotation in a degenerate two-dimensional space.
> The word lock is misleading: no gimbal is restrained. All three gimbals can still rotate freely about their respective axes of suspension. Nevertheless, because of the parallel orientation of two of the gimbals' axes there is no gimba...

More or less it’s a thing that will be there anytime there is three angles of rotation to deal with referencing world space. The usual fix is not to free hand the camera directly but attach the camera to a custom Gimbal, dolly, or spline track.

---

<div class="post-metadata">

**Author:** ![syrom](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@syrom](https://forums.unrealengine.com/u/syrom)\
**Post date:** [October 26, 2017, 6:18am UTC](https://forums.unrealengine.com/t/sequencer-camera-spins-around-after-180-degrees/101620/10 "2017-10-26T06:18:51Z")

</div>

> [@FrankieV](#):
>
> Well it’s not a bug but a thing called Gimbal Lock
> 
> [Gimbal lock - Wikipedia](https://en.wikipedia.org/wiki/Gimbal_lock)
> 
> More or less it’s a thing that will be there anytime there is three angles of rotation to deal with referencing world space. The usual fix is not to free hand the camera directly but attach the camera to a custom Gimbal, dolly, or spline track.

Hmm… i read something around those lines. Will look into it.

---

<div class="post-metadata">

**Author:** ![dalenaxtran](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dalenaxtran](https://forums.unrealengine.com/u/dalenaxtran)\
**Post date:** [October 26, 2017, 7:11am UTC](https://forums.unrealengine.com/t/sequencer-camera-spins-around-after-180-degrees/101620/11 "2017-10-26T07:11:42Z")

</div>

It seems that the latest update (4.18) has found a fix for this issue, or at least the interpolations are generally much better. Are you still having trouble? In 4.17, I tried to do a simple camera Z rotation around a character or object and the camera would rotate counter-clockwise. Now it successfully goes around the character given the shortest distances of my keyframes.

If this update didn’t resolve for you, I tried a couple of workarounds as well. Manually going into the curve editor is tedious and so is keyframing through the viewport but those were my first attempts. What ended up being a feasible solution for me was attaching the camera to a rig (rail/crane). It allows for you to gain more control in the camera rotations. As @FrankieV explained, it seems like the best solution to this issue.

[https://docs.unrealengine.com/latest/INT/Engine/Sequencer/HowTo/CameraRigRail/index.html](https://docs.unrealengine.com/latest/INT/Engine/Sequencer/HowTo/CameraRigRail/index.html)

---

<div class="post-metadata">

**Author:** ![cyaoeu](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@cyaoeu](https://forums.unrealengine.com/u/cyaoeu)\
**Post date:** [October 26, 2017, 11:54am UTC](https://forums.unrealengine.com/t/sequencer-camera-spins-around-after-180-degrees/101620/12 "2017-10-26T11:54:43Z")

</div>

> [@FrankieV](#):
>
> Well it’s not a bug but a thing called Gimbal Lock
> 
> [Gimbal lock - Wikipedia](https://en.wikipedia.org/wiki/Gimbal_lock)
> 
> More or less it’s a thing that will be there anytime there is three angles of rotation to deal with referencing world space. The usual fix is not to free hand the camera directly but attach the camera to a custom Gimbal, dolly, or spline track.

It’s not gimbal lock. It happens even with only one axis of rotation. The bug has to do with faulty interpolation of positive to negative numbers (since they for some reason use -180 to 180 instead of 0 to 360. Instead of going through the shortest rotation path the rotation is forced to go through the positive/negative side until it reaches the other side. It has nothing to do with gimbal lock.

---

<div class="post-metadata">

**Author:** ![syrom](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@syrom](https://forums.unrealengine.com/u/syrom)\
**Post date:** [October 27, 2017, 7:12am UTC](https://forums.unrealengine.com/t/sequencer-camera-spins-around-after-180-degrees/101620/13 "2017-10-27T07:12:33Z")

</div>

Wait… so its a bug? I have noticed the positive to negative effect that triggers it.

---

<div class="post-metadata">

**Author:** ![cyaoeu](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@cyaoeu](https://forums.unrealengine.com/u/cyaoeu)\
**Post date:** [October 27, 2017, 11:54am UTC](https://forums.unrealengine.com/t/sequencer-camera-spins-around-after-180-degrees/101620/14 "2017-10-27T11:54:48Z")

</div>

> [@syrom](#):
>
> Wait… so its a bug? I have noticed the positive to negative effect that triggers it.

Yes, it’s a bug. It’s on the issue tracker with a target fix for 4.19 (which will hopefully happen).

---

<div class="post-metadata">

**Author:** ![syrom](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@syrom](https://forums.unrealengine.com/u/syrom)\
**Post date:** [October 27, 2017, 2:07pm UTC](https://forums.unrealengine.com/t/sequencer-camera-spins-around-after-180-degrees/101620/15 "2017-10-27T14:07:33Z")

</div>

> [@cyaoeu](#):
>
> Yes, it’s a bug. It’s on the issue tracker with a target fix for 4.19 (which will hopefully happen).

So comfirmed. Ok… good to know.

---

<div class="post-metadata">

**Author:** ![ArasKARM](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ArasKARM](https://forums.unrealengine.com/u/ArasKARM)\
**Post date:** [January 23, 2018, 4:54pm UTC](https://forums.unrealengine.com/t/sequencer-camera-spins-around-after-180-degrees/101620/16 "2018-01-23T16:54:32Z")

</div>

A current workaround I found for this is to create a keyframe on the frame before the flipping, and reset the rotation to positive or negative space depending on which one works. Essentially all of the flipping happens in a single frame and it’s invisible 🙂

---

<div class="post-metadata">

**Author:** ![FrankieV](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@FrankieV](https://forums.unrealengine.com/u/FrankieV)\
**Post date:** [January 23, 2018, 7:48pm UTC](https://forums.unrealengine.com/t/sequencer-camera-spins-around-after-180-degrees/101620/17 "2018-01-23T19:48:26Z")

</div>

Noticed this the other day. I worked around the problem by rotating the camera in 90 degree steps. Have the same problem in 3ds Max as well

---

<div class="post-metadata">

**Author:** ![LUXO99](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@LUXO99](https://forums.unrealengine.com/u/LUXO99)\
**Post date:** [April 18, 2018, 12:08pm UTC](https://forums.unrealengine.com/t/sequencer-camera-spins-around-after-180-degrees/101620/18 "2018-04-18T12:08:15Z")

</div>

I’m having the same issue in 4.19.1… So it is not fixed yet… I want to rotate a cube 90 degrees every time I press a button… but it doesn’t work, no matter if the cube rotates clockwise or counterclokwise.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_9a913664](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_9a913664](https://forums.unrealengine.com/u/anonymous_user_9a913664)\
**Post date:** [April 19, 2018, 9:30am UTC](https://forums.unrealengine.com/t/sequencer-camera-spins-around-after-180-degrees/101620/19 "2018-04-19T09:30:49Z")

</div>

Still not fixed wow

---

<div class="post-metadata">

**Author:** ![northstar](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/northstar/32/630363_2.png) [@northstar](https://forums.unrealengine.com/u/northstar)\
**Post date:** [April 25, 2018, 3:24pm UTC](https://forums.unrealengine.com/t/sequencer-camera-spins-around-after-180-degrees/101620/20 "2018-04-25T15:24:30Z")

</div>

from roadmap as done for 4.20… is this the one?

[FONT=Helvetica Neue]Sequencer now supports continuous euler angle changes when changing rotations. Euler angles are no longer limited to -180,180, which is necessary to avoid flips.

[Next page](https://forums.unrealengine.com/t/sequencer-camera-spins-around-after-180-degrees/101620.md?page=2)
