# \[Delete\] Create animation follow a spline

**URL:** <https://forum.babylonjs.com/t/delete-create-animation-follow-a-spline/23166>\
**Category:** Questions\
**Created:** [August 18, 2021, 10:46am UTC](https://forum.babylonjs.com/t/delete-create-animation-follow-a-spline/23166 "2021-08-18T10:46:48Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kuangzheng\_Xia](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/kuangzheng_xia/32/17495_2.png) [@Kuangzheng\_Xia](https://forum.babylonjs.com/u/Kuangzheng_Xia)\
**Post date:** [August 18, 2021, 10:46am UTC](https://forum.babylonjs.com/t/delete-create-animation-follow-a-spline/23166/1 "2021-08-18T10:46:48Z")

</div>

In Babylon, I want to create an animation, a camera follows a spline. So far, I have a high position, landing position and ending position. The camera starts at the high position and moves straight into the landing position. Is any chance the camera could follow a spline? The following screenshot is the idea I want to follow.  
 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/f/3/f3c7abeb4cb3309ecda4e17c834c4c61a34ab8ec.jpeg)

I have looked up the easing function. Not sure how to make a straight line camera rail into a curved camera rail.

---

<div class="post-metadata">

**Author:** ![Deltakosh](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/deltakosh/32/26635_2.png) [@Deltakosh](https://forum.babylonjs.com/u/Deltakosh)\
**Post date:** [August 18, 2021, 3:44pm UTC](https://forum.babylonjs.com/t/delete-create-animation-follow-a-spline/23166/2 "2021-08-18T15:44:14Z")

</div>

Hey is this a Babylon.js question or a cinema4d question?

If this is the latter I recommend to post on cinema4d forum

---

<div class="post-metadata">

**Author:** ![Kuangzheng\_Xia](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/kuangzheng_xia/32/17495_2.png) [@Kuangzheng\_Xia](https://forum.babylonjs.com/u/Kuangzheng_Xia)\
**Post date:** [August 18, 2021, 11:55pm UTC](https://forum.babylonjs.com/t/delete-create-animation-follow-a-spline/23166/3 "2021-08-18T23:55:01Z")

</div>

This is a Babylon.js question

---

<div class="post-metadata">

**Author:** ![Deltakosh](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/deltakosh/32/26635_2.png) [@Deltakosh](https://forum.babylonjs.com/u/Deltakosh)\
**Post date:** [August 19, 2021, 12:22am UTC](https://forum.babylonjs.com/t/delete-create-animation-follow-a-spline/23166/4 "2021-08-19T00:22:12Z")

</div>

Ok so yes this is possible. We support spline animation in babylonjs.

Now the real question is how to export it from your tool. Check my other answer on your other topic. If there is a gltf exporter for cinema4d

---

<div class="post-metadata">

**Author:** ![Kuangzheng\_Xia](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/kuangzheng_xia/32/17495_2.png) [@Kuangzheng\_Xia](https://forum.babylonjs.com/u/Kuangzheng_Xia)\
**Post date:** [August 19, 2021, 12:54am UTC](https://forum.babylonjs.com/t/delete-create-animation-follow-a-spline/23166/5 "2021-08-19T00:54:20Z")

</div>

May you show me how to create a spline In babylon, and how to create the camera spline animation in babylon?

---

<div class="post-metadata">

**Author:** ![Deltakosh](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/deltakosh/32/26635_2.png) [@Deltakosh](https://forum.babylonjs.com/u/Deltakosh)\
**Post date:** [August 19, 2021, 3:40pm UTC](https://forum.babylonjs.com/t/delete-create-animation-follow-a-spline/23166/6 "2021-08-19T15:40:28Z")

</div>

I answered on your other topic
