# PCG How to interpolate two points rotations?

**URL:** <https://forums.unrealengine.com/t/pcg-how-to-interpolate-two-points-rotations/1335459>\
**Category:** World Creation\
**Tags:** unreal-engine, question\
**Created:** [October 17, 2023, 10:49am UTC](https://forums.unrealengine.com/t/pcg-how-to-interpolate-two-points-rotations/1335459 "2023-10-17T10:49:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![MichelBlade](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MichelBlade](https://forums.unrealengine.com/u/MichelBlade)\
**Post date:** [October 17, 2023, 10:49am UTC](https://forums.unrealengine.com/t/pcg-how-to-interpolate-two-points-rotations/1335459/1 "2023-10-17T10:49:05Z")

</div>

Hi there!  
I hope someone is reading those from time to time.

I am trying to figure out how to interpolate rotation of two points. I tried everything that came to my mind with no results, mostly errors. I already spent half a day trying to figure it out.

To describe my case in more details, I have been trying to spawn a tree, on a gentle slope, and make this tree to inherit a little bit of that’s slope angle. I think Lerp between “resting” rotation and slope-aligned rotation would do the trick.

I have point A, I have point B. I tried to plug them into Maths/Rotator/Transform: Lerp and use Create Attribute with Float 0.5 as Ratio.

Maths: lerp outputs just Point A, no changes, no errors. It does nothing.  
Rotator: Lerp would not work at all and give me just an Error which makes little to no sens. It does not accept any inputs.  
Transform: Lerp does not accept any inputs and gives me just undescriptive errors.

I have no clue what is going on. It should be rather easy operation, right?

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [October 17, 2023, 11:55am UTC](https://forums.unrealengine.com/t/pcg-how-to-interpolate-two-points-rotations/1335459/2 "2023-10-17T11:55:35Z")

</div>

Can you show that piece of code?

---

<div class="post-metadata">

**Author:** ![Clazzid](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Clazzid](https://forums.unrealengine.com/u/Clazzid)\
**Post date:** [May 22, 2025, 3:40am UTC](https://forums.unrealengine.com/t/pcg-how-to-interpolate-two-points-rotations/1335459/3 "2025-05-22T03:40:20Z")

</div>

Late reply but I saw this while seaching for the same solution.

The regular “Lerp” node does not accept Quaterinions, BUT there is “Transform Rotation” node, in it you can change the Operation to “Lerp” and that works just fine.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/8/a/b8a31203bb3bbc7c74210098071e829591f39f6f.png)

---

<div class="post-metadata">

**Author:** ![Olninyo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Olninyo](https://forums.unrealengine.com/u/Olninyo)\
**Post date:** [April 22, 2026, 12:34pm UTC](https://forums.unrealengine.com/t/pcg-how-to-interpolate-two-points-rotations/1335459/4 "2026-04-22T12:34:18Z")

</div>

lifesaver ❤
