# Can you make a spline smoother on extreme curves?

**URL:** <https://forums.unrealengine.com/t/can-you-make-a-spline-smoother-on-extreme-curves/460546>\
**Category:** Cinematics & Media\
**Tags:** smooth, unreal-engine, Spline, question\
**Created:** [January 13, 2020, 11:19pm UTC](https://forums.unrealengine.com/t/can-you-make-a-spline-smoother-on-extreme-curves/460546 "2020-01-13T23:19:37Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bmiletta](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Bmiletta](https://forums.unrealengine.com/u/Bmiletta)\
**Post date:** [January 13, 2020, 11:19pm UTC](https://forums.unrealengine.com/t/can-you-make-a-spline-smoother-on-extreme-curves/460546/1 "2020-01-13T23:19:37Z")

</div>

![295294-annotation-2020-01-13-151641.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/6/7/6679676fde954c853fd4b4cca699143b92c0d0db.jpeg)

```
 I have a spline with three points for a camera animation. The mid point is higher than the start and end point. So basically its just a simple arc. However I notice that the segments that make up the spline don't seem to adapt to how extreme the curve is. So I get a jaggy spline when I want to have a smoother spline. This is especially important for the animation of the camera. 

```

Any ideas on how to solve that problem, or maybe there is a setting I am unaware of?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b58cf9e8](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b58cf9e8](https://forums.unrealengine.com/u/anonymous_user_b58cf9e8)\
**Post date:** [January 13, 2020, 11:56pm UTC](https://forums.unrealengine.com/t/can-you-make-a-spline-smoother-on-extreme-curves/460546/2 "2020-01-13T23:56:58Z")

</div>

You can set the spline point interpolation mode by right clicking on a spline point and selecting an option under “Spline Point Type” in the context menu. Setting the type to “Curve” should make the spline interpolate smoothly.

---

<div class="post-metadata">

**Author:** ![Bmiletta](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Bmiletta](https://forums.unrealengine.com/u/Bmiletta)\
**Post date:** [January 14, 2020, 12:21am UTC](https://forums.unrealengine.com/t/can-you-make-a-spline-smoother-on-extreme-curves/460546/3 "2020-01-14T00:21:24Z")

</div>

It is set to Curve, the issue I have is that the curve itself isn’t smooth enough. In the image above you can see the point I have, just behind the camera. Then along that curve its jaggy instead of smooth. So I am getting a curve but its like the curve doesn’t have enough subdivisions for example.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b58cf9e8](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b58cf9e8](https://forums.unrealengine.com/u/anonymous_user_b58cf9e8)\
**Post date:** [January 14, 2020, 12:29am UTC](https://forums.unrealengine.com/t/can-you-make-a-spline-smoother-on-extreme-curves/460546/4 "2020-01-14T00:29:34Z")

</div>

Hmm, very strange. I am unable to reproduce what you are seeing.

Do you have that rig scaled in any way? What version of the engine are you using?

---

<div class="post-metadata">

**Author:** ![Bmiletta](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Bmiletta](https://forums.unrealengine.com/u/Bmiletta)\
**Post date:** [January 14, 2020, 12:40am UTC](https://forums.unrealengine.com/t/can-you-make-a-spline-smoother-on-extreme-curves/460546/5 "2020-01-14T00:40:07Z")

</div>

It is not scaled, I am using the “Camera Rig Rail” object.

Looks like I am in 4.23 on this project and not 4.24 so maybe there is a change between the two, I can see if that is the case.

Here is a paste of the object where the spline does that for me:

> **[Begin Map Begin Level Begin Actor Class=/Script/CinematicCamera.Camer...](https://pastebin.com/WwPECSBu)**
>
> Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b58cf9e8](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b58cf9e8](https://forums.unrealengine.com/u/anonymous_user_b58cf9e8)\
**Post date:** [January 14, 2020, 12:50am UTC](https://forums.unrealengine.com/t/can-you-make-a-spline-smoother-on-extreme-curves/460546/6 "2020-01-14T00:50:31Z")

</div>

OK, I doubt the version has anything to do with it.

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [January 14, 2020, 10:45am UTC](https://forums.unrealengine.com/t/can-you-make-a-spline-smoother-on-extreme-curves/460546/7 "2020-01-14T10:45:06Z")

</div>

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://d3kjluh73b9h9o.cloudfront.net/original/4X/b/c/a/bcac0de3a765c32d70fe88c5b3ae7b8594e0f52c.gif)](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 🙂

On the other hand, Clayton.Campbell’s suggestion of setting it all to Curve _should_ _just_ work. Other than that, there must be something shady happening to the spline. Perhaps the construction script of that object is applying changes?

---

<div class="post-metadata">

**Author:** ![presto423](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@presto423](https://forums.unrealengine.com/u/presto423)\
**Post date:** [January 14, 2020, 5:31pm UTC](https://forums.unrealengine.com/t/can-you-make-a-spline-smoother-on-extreme-curves/460546/8 "2020-01-14T17:31:50Z")

</div>

Version may well be the issue, though why would it occur in 4.23? Check the release notes for 4.24 under splines to see if there a bug that was fixed.

Does the camera have to be detached from the spline rig for the curve to activate / work? I know it sounds stupid, but it could be worth it to check quickly. I recall in Cascade that setting modules in a specific order influences how each module after it operates, even at the distribution (or curve) level. The camera might be unduly restricting the spline from becoming a curve even though it is set to Curve.

---

<div class="post-metadata">

**Author:** ![Bmiletta](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Bmiletta](https://forums.unrealengine.com/u/Bmiletta)\
**Post date:** [January 14, 2020, 10:21pm UTC](https://forums.unrealengine.com/t/can-you-make-a-spline-smoother-on-extreme-curves/460546/9 "2020-01-14T22:21:17Z")

</div>

Here is what mine looks like to compare. I will look at 4.24 and also try some more spline setups, it could be that this is an issue specific to the camera rail actor and not splines themselves.

![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/a/7/4a71b4fd471d4952e19872fce9b57669a4540cc1.gif)

---

<div class="post-metadata">

**Author:** ![presto423](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@presto423](https://forums.unrealengine.com/u/presto423)\
**Post date:** [January 15, 2020, 12:14am UTC](https://forums.unrealengine.com/t/can-you-make-a-spline-smoother-on-extreme-curves/460546/10 "2020-01-15T00:14:16Z")

</div>

Are you able to open the camera rail actor in the mesh editor? or is it specific to Sequencer or whichever other editor? It appears the spline is somewhat offset from the rig’s exact path too, where each spline segment is not exactly parallel in points and segments to the rig’s.

---

<div class="post-metadata">

**Author:** ![Stalevarov.G](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Stalevarov.G](https://forums.unrealengine.com/u/Stalevarov.G)\
**Post date:** [October 16, 2020, 1:54pm UTC](https://forums.unrealengine.com/t/can-you-make-a-spline-smoother-on-extreme-curves/460546/11 "2020-10-16T13:54:55Z")

</div>

![318921-screenshot-1.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/5/1/7514bb20e2940fca2ddc29db9273a27558e82e3c.png)

---

<div class="post-metadata">

**Author:** ![Design\_Dude](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Design\_Dude](https://forums.unrealengine.com/u/Design_Dude)\
**Post date:** [April 11, 2023, 5:53am UTC](https://forums.unrealengine.com/t/can-you-make-a-spline-smoother-on-extreme-curves/460546/12 "2023-04-11T05:53:58Z")

</div>

Hey mate, did you ever find a solution to this?

---

<div class="post-metadata">

**Author:** ![jammy745](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jammy745](https://forums.unrealengine.com/u/jammy745)\
**Post date:** [October 18, 2023, 6:53pm UTC](https://forums.unrealengine.com/t/can-you-make-a-spline-smoother-on-extreme-curves/460546/13 "2023-10-18T18:53:26Z")

</div>

Just what I was looking for, thank you!!
