# Rotate Overlap object along spline

**URL:** <https://forums.unrealengine.com/t/rotate-overlap-object-along-spline/487480>\
**Category:** Community & Industry Discussion\
**Tags:** rotation, unreal-engine, Spline, question, overlap-event\
**Created:** [August 15, 2021, 10:08pm UTC](https://forums.unrealengine.com/t/rotate-overlap-object-along-spline/487480 "2021-08-15T22:08:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rcreators](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rcreators/32/492461_2.png) [@Rcreators](https://forums.unrealengine.com/u/Rcreators)\
**Post date:** [August 15, 2021, 10:08pm UTC](https://forums.unrealengine.com/t/rotate-overlap-object-along-spline/487480/1 "2021-08-15T22:08:05Z")

</div>

Hello,

I am working on some conveyor belt script and I follow this youtube video on the same.

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/9/b/79b289a6df3ea4d65c23a76f62affc6fd9620c02.jpeg "How to Make a Conveyor Belt Using Splines in UE4 - Blueprint and Materials Tutorial") ](https://www.youtube.com/watch?v=LZ7l7VKdgqY)

I can get everything as per the video but I need some improvement in the blueprint where if I make a curve spline, the object should rotate along the curve.

Below is my current blueprint as per the video.

 ![346369-conveyorbelt.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/3/0/6304e6e3a98fb129967453acaa49f7539caa0b15.jpeg)

Can anyone help to improve it?

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![DevinSherry](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/devinsherry/32/1101099_2.png) [@DevinSherry](https://forums.unrealengine.com/u/DevinSherry)\
**Post date:** [August 16, 2021, 6:54am UTC](https://forums.unrealengine.com/t/rotate-overlap-object-along-spline/487480/2 "2021-08-16T06:54:04Z")

</div>

Hi,  
Based on what I see in your attached image, you are only adding actor world offset and this only affects location/position of the actor and not its rotation. I have attached an image displaying some of the available functions for splines that deal with rotation and hopefully one of these will be useful to you.

You will need to update the rotation of the actor in question by using one of the handful of functions related to rotation for actors:

AddActorLocalRotation  
AddActorWorldRotation  
SetActorRelativeRotation  
SetActorRotation

I believe this tutorial will also be of good use to you: [Ue4 Tutorial - Moving an Object along a path using a Spline Track - YouTube](https://www.youtube.com/watch?v=bWXI91FdMtk). Good luck 🙂

 ![346385-splinerotation.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/2/3/623db868c557f3e4663e502489af5ec9bd8067e1.png)

---

<div class="post-metadata">

**Author:** ![Rcreators](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rcreators/32/492461_2.png) [@Rcreators](https://forums.unrealengine.com/u/Rcreators)\
**Post date:** [September 17, 2021, 1:51pm UTC](https://forums.unrealengine.com/t/rotate-overlap-object-along-spline/487480/3 "2021-09-17T13:51:40Z")

</div>

Hello,

Finally I was able to get it work without any errors.

You can see this image for reference.

 ![348900-bp-conveyorbelt.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/2/a/a2a1a7ad5adeefeeb7c9f06a77823b65dfe1b25f.jpeg)

Regards,  
Rishi
