# How to create a smooth camera animation on a Camera Rig Rail

**URL:** <https://forums.unrealengine.com/t/how-to-create-a-smooth-camera-animation-on-a-camera-rig-rail/438900>\
**Category:** Cinematics & Media\
**Tags:** smooth, interpolation, unreal-engine, question\
**Created:** [December 5, 2018, 10:54am UTC](https://forums.unrealengine.com/t/how-to-create-a-smooth-camera-animation-on-a-camera-rig-rail/438900 "2018-12-05T10:54:08Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_3a195494](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_3a195494](https://forums.unrealengine.com/u/anonymous_user_3a195494)\
**Post date:** [December 5, 2018, 10:54am UTC](https://forums.unrealengine.com/t/how-to-create-a-smooth-camera-animation-on-a-camera-rig-rail/438900/1 "2018-12-05T10:54:08Z")

</div>

Hi @all,

I want to create a long camera flight throug an environment. Therefore I have created a camer rig rail, which defines the path for the camera and I am using the sequencer to animate the camera along the camera rig. Lock orientation to rig is activated.  
Basically it is working fine, but on every spline point of the camera rig the camer shakes, because the rig’s path is not 100% smooth. How can I avoid this from happening? Can I somehow smooth the camera position and orientation values when following a camera rig rail?

Thanks in advance for your help!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_3a195494](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_3a195494](https://forums.unrealengine.com/u/anonymous_user_3a195494)\
**Post date:** [December 5, 2018, 1:20pm UTC](https://forums.unrealengine.com/t/how-to-create-a-smooth-camera-animation-on-a-camera-rig-rail/438900/2 "2018-12-05T13:20:40Z")

</div>

Ok, I have found a solution. You can select the spline element in the component editor, select every single point of the rig and adjust the type of it. see image

 ![261383-rig.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/b/5/9b54fc0e4077a71444de601c1001b9d715fd96c6.png)

Maybe helpful for someone else 🙂

---

<div class="post-metadata">

**Author:** ![hyawatha15](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@hyawatha15](https://forums.unrealengine.com/u/hyawatha15)\
**Post date:** [February 9, 2019, 9:28pm UTC](https://forums.unrealengine.com/t/how-to-create-a-smooth-camera-animation-on-a-camera-rig-rail/438900/3 "2019-02-09T21:28:14Z")

</div>

I’ve tried so many things, including setting all of the spline points to use CurveClamped, but I’m still getting a jerky motion right at the spline points

---

<div class="post-metadata">

**Author:** ![buttfukka](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@buttfukka](https://forums.unrealengine.com/u/buttfukka)\
**Post date:** [August 5, 2021, 9:36am UTC](https://forums.unrealengine.com/t/how-to-create-a-smooth-camera-animation-on-a-camera-rig-rail/438900/4 "2021-08-05T09:36:58Z")

</div>

Yeah this doesn’t create buttery smooth camera animation I was hoping for.

---

<div class="post-metadata">

**Author:** ![Malzn\_Diez](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Malzn\_Diez](https://forums.unrealengine.com/u/Malzn_Diez)\
**Post date:** [August 4, 2022, 2:43pm UTC](https://forums.unrealengine.com/t/how-to-create-a-smooth-camera-animation-on-a-camera-rig-rail/438900/5 "2022-08-04T14:43:38Z")

</div>

> [@Can you make a spline smoother on extreme curves?](https://forums.unrealengine.com/t/can-you-make-a-spline-smoother-on-extreme-curves/460546/7):
>
> At a glance this looks like somewhat hard-coded arrive / leave tangents. How are you actually generating the spline? Manually or dynamically? And how are you setting the tangents? This is the default behaviour: [[Image from Gyazo]](https://gyazo.com/6eb9f38624713a9662be79a0ccdf3ddb) There seems to be more than 1 kink between the spline points, too. This, on its own, would be fairly tricky to reproduce. At this point, it might be easier to just create a new spline slight_smile On the other hand, Clayton.Campbell’s suggestion of setting it all…

---

<div class="post-metadata">

**Author:** ![LUNCHBQX](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@LUNCHBQX](https://forums.unrealengine.com/u/LUNCHBQX)\
**Post date:** [June 16, 2023, 10:15pm UTC](https://forums.unrealengine.com/t/how-to-create-a-smooth-camera-animation-on-a-camera-rig-rail/438900/6 "2023-06-16T22:15:05Z")

</div>

The solution is to change the “Reparam Steps Per Segment” to 100. The default is 10. This is found under the same “RailSplineComponent” section.

Hope this helps!

 ![Screenshot 2023-06-16 151215 1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/e/b/2eba0f462d27ccd145ba2b0af5803efecdc86e33.png)

---

<div class="post-metadata">

**Author:** ![maxijak111](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/maxijak111/32/88711_2.png) [@maxijak111](https://forums.unrealengine.com/u/maxijak111)\
**Post date:** [April 14, 2024, 7:14pm UTC](https://forums.unrealengine.com/t/how-to-create-a-smooth-camera-animation-on-a-camera-rig-rail/438900/7 "2024-04-14T19:14:11Z")

</div>

Thank you so much for this answer! I’ve been trying to fix this for over a year!

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [May 14, 2024, 7:14pm UTC](https://forums.unrealengine.com/t/how-to-create-a-smooth-camera-animation-on-a-camera-rig-rail/438900/8 "2024-05-14T19:14:35Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
