# RInterpTo not working properly in multiplayer

**URL:** <https://forums.unrealengine.com/t/rinterpto-not-working-properly-in-multiplayer/1863866>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, Multiplayer, Blueprint, question\
**Created:** [May 19, 2024, 9:29pm UTC](https://forums.unrealengine.com/t/rinterpto-not-working-properly-in-multiplayer/1863866 "2024-05-19T21:29:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![SgtFlexxx](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sgtflexxx/32/1194634_2.png) [@SgtFlexxx](https://forums.unrealengine.com/u/SgtFlexxx)\
**Post date:** [May 19, 2024, 9:29pm UTC](https://forums.unrealengine.com/t/rinterpto-not-working-properly-in-multiplayer/1863866/1 "2024-05-19T21:29:18Z")

</div>

Hello all,

Im not really sure why, but my code isn’t functioning properly when trying to convert it for multiplayer. The rotation is off for whatever reason. Here is my code and some videos

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/f/f/8ff58c167f6cf2ff11c83373b53a8f581157d25b.png)

---

<div class="post-metadata">

**Author:** ![Humanasset](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/humanasset/32/251551_2.png) [@Humanasset](https://forums.unrealengine.com/u/Humanasset)\
**Post date:** [May 20, 2024, 5:55am UTC](https://forums.unrealengine.com/t/rinterpto-not-working-properly-in-multiplayer/1863866/2 "2024-05-20T05:55:38Z")

</div>

Maybe try passing through the Get Actor Rotation rotator into the server event from your custom event on through to your multicast and then plug the rotator value into your RInterpTo “current” and your break rotator node.

---

<div class="post-metadata">

**Author:** ![SgtFlexxx](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sgtflexxx/32/1194634_2.png) [@SgtFlexxx](https://forums.unrealengine.com/u/SgtFlexxx)\
**Post date:** [August 11, 2024, 12:15am UTC](https://forums.unrealengine.com/t/rinterpto-not-working-properly-in-multiplayer/1863866/3 "2024-08-11T00:15:55Z")

</div>

The issue was that I was passing the control rotation from both the connected client and the server. One was passing the actual control rotation while the other was passing a Zero Rotator, resulting in the turret constantly lerping between the two values. I solved it by passing in the rotation from the local player to the server, which multicast lerps on all the connected clients.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/f/1/2f167d87b7b65386f85e945d18d19682cae575e2.png)  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/5/e/25e71dac6db5676fda2f41834e5aad16f7263ac4.png)

---

<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:** [September 10, 2024, 12:16am UTC](https://forums.unrealengine.com/t/rinterpto-not-working-properly-in-multiplayer/1863866/4 "2024-09-10T00:16:12Z")

</div>

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